FIX: Better display if the topic is deleted
This commit is contained in:
parent
a55e7ebe8f
commit
c0780434f8
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue