FIX: Better display if the topic is deleted

This commit is contained in:
Robin Ward 2019-03-29 16:59:00 -04:00
parent a55e7ebe8f
commit c0780434f8
1 changed files with 14 additions and 10 deletions

View File

@ -1,10 +1,14 @@
<div class='post-topic'> {{#if topic}}
{{#if topic}} <div class='post-topic'>
{{i18n "review.topic"}} {{#if topic}}
{{topic-status topic=topic}} {{i18n "review.topic"}}
{{topic-link topic}} {{topic-status topic=topic}}
{{i18n "review.topic_replies" count=topic.reply_count}} {{topic-link topic}}
{{else}} {{i18n "review.topic_replies" count=topic.reply_count}}
{{yield}} {{else}}
{{/if}} {{yield}}
</div> {{/if}}
</div>
{{else}}
{{i18n "topic.deleted"}}
{{/if}}