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

This commit is contained in:
Arpit Jalan 2020-02-12 11:32:40 +05:30
parent e69ffa86b3
commit 7ef754759e

View File

@ -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}}