Discussions: Display topic creation date

This commit is contained in:
Maxim Leshchenko 2021-12-15 01:44:15 +02:00
parent 4d129290c7
commit 1356944109
3 changed files with 7 additions and 0 deletions

View file

@ -18,6 +18,9 @@
<b>{$topic->getTitle()}</b> <b>{$topic->getTitle()}</b>
<br /> <br />
<a href="{$topic->getOwner()->getURL()}">{$topic->getOwner()->getCanonicalName()}</a> <a href="{$topic->getOwner()->getURL()}">{$topic->getOwner()->getCanonicalName()}</a>
<div class="nobold" style="float: right;">
{_created} {$topic->getPublicationTime()}
</div>
</div> </div>
<div style="margin-top: 20px;"> <div style="margin-top: 20px;">
{include "../components/comments.xml", comments => $comments, count => $count, page => $page, model => "topics", club => $club, readOnly => $topic->isClosed(), parent => $topic} {include "../components/comments.xml", comments => $comments, count => $count, page => $page, model => "topics", club => $club, readOnly => $topic->isClosed(), parent => $topic}

View file

@ -626,6 +626,8 @@
"topics_one" = "One topic"; "topics_one" = "One topic";
"topics_other" = "$1 topics"; "topics_other" = "$1 topics";
"created" = "Created";
"everyone_can_create_topics" = "Everyone can create topics"; "everyone_can_create_topics" = "Everyone can create topics";
"topic_changes_saved_comment" = "The updated title and settings will appear on the topic page."; "topic_changes_saved_comment" = "The updated title and settings will appear on the topic page.";

View file

@ -655,6 +655,8 @@
"topics_many" = "$1 тема"; "topics_many" = "$1 тема";
"topics_other" = "$1 тем"; "topics_other" = "$1 тем";
"created" = "Создано";
"everyone_can_create_topics" = "Все могут создавать темы"; "everyone_can_create_topics" = "Все могут создавать темы";
"topic_changes_saved_comment" = "Обновлённый заголовок и настройки появятся на странице с темой."; "topic_changes_saved_comment" = "Обновлённый заголовок и настройки появятся на странице с темой.";