Show link to the original topic when it was deleted (#7319)

* 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
This commit is contained in:
Roman Rizzi
2019-04-10 06:25:45 -03:00
committed by Régis Hanol
parent b5008586c5
commit 82e051077d
4 changed files with 27 additions and 14 deletions

View File

@@ -7,6 +7,9 @@
{{else if (has-block)}}
{{yield}}
{{else}}
<span class="title-text">{{i18n "topic.deleted"}}</span>
<span class="title-text">
{{i18n "review.topics.deleted"}}
{{link-to (i18n "review.topics.original") "topic" "-" reviewable.removed_topic_id}}
</span>
{{/if}}
</div>