Skip to content

A platform for community discussion. Free, open, simple.

UX: show destination topic status when moving post(s) to an existing topic

Arpit Jalan7ef754759e4c
diff --git a/app/assets/javascripts/discourse/templates/components/choose-topic.hbs b/app/assets/javascripts/discourse/templates/components/choose-topic.hbs
index fd20b847ec1..6d75f32b600 100644
--- a/app/assets/javascripts/discourse/templates/components/choose-topic.hbs
+++ b/app/assets/javascripts/discourse/templates/components/choose-topic.hbs
@@ -11,16 +11,17 @@
{{#each topics as |t|}}
<div class='controls existing-topic'>
<label class='radio'>
- <input type='radio' id="choose-topic-{{unbound t.id}}" name='choose_topic_id' {{action "chooseTopic" t}}>
- <span class="topic-title">
- {{t.title}}
- </span>
- <span class="topic-categories">
- {{#if t.category.parentCategory}}
- {{bound-category-link t.category.parentCategory}}
- {{/if}}
- {{bound-category-link t.category}}
- </span>
+ <input type='radio' id="choose-topic-{{unbound t.id}}" name='choose_topic_id' {{action "chooseTopic" t}}>
+ {{raw "topic-status" topic=t}}
+ <span class="topic-title">
+ {{t.title}}
+ </span>
+ <span class="topic-categories">
+ {{#if t.category.parentCategory}}
+ {{bound-category-link t.category.parentCategory}}
+ {{/if}}
+ {{bound-category-link t.category}}
+ </span>
</label>
</div>
{{/each}}