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}}
{{i18n "review.topic"}}
{{topic-status topic=topic}}
{{topic-link topic}}
{{i18n "review.topic_replies" count=topic.reply_count}}
{{else}}
{{yield}}
{{/if}}
</div>
{{#if topic}}
<div class='post-topic'>
{{#if topic}}
{{i18n "review.topic"}}
{{topic-status topic=topic}}
{{topic-link topic}}
{{i18n "review.topic_replies" count=topic.reply_count}}
{{else}}
{{yield}}
{{/if}}
</div>
{{else}}
{{i18n "topic.deleted"}}
{{/if}}