* Moved i18n keys to core. We show a links that points to the original topic when it was deleted * Use link-to since it's more idiomatic
16 lines
527 B
Handlebars
16 lines
527 B
Handlebars
<div class='post-topic'>
|
|
{{#if reviewable.topic}}
|
|
{{topic-status topic=reviewable.topic}}
|
|
<a href={{reviewable.topic_url}} class='title-text'>{{reviewable.topic.title}}</a>
|
|
{{category-badge reviewable.category}}
|
|
{{reviewable-tags tags=reviewable.topic_tags tagName=''}}
|
|
{{else if (has-block)}}
|
|
{{yield}}
|
|
{{else}}
|
|
<span class="title-text">
|
|
{{i18n "review.topics.deleted"}}
|
|
{{link-to (i18n "review.topics.original") "topic" "-" reviewable.removed_topic_id}}
|
|
</span>
|
|
{{/if}}
|
|
</div>
|