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}}
|
||||||
{{#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}}
|
||||||
|
|
Loading…
Reference in New Issue