UX: show category when moving post to exisiting topic

This commit is contained in:
Arpit Jalan 2014-09-19 20:53:51 +05:30
parent da91ab25cf
commit ae8f7748f8
2 changed files with 4 additions and 1 deletions

View File

@ -86,4 +86,3 @@ Discourse.Search = {
}
};

View File

@ -12,6 +12,10 @@
<div class='controls'>
<label class='radio'>
<input type='radio' id="choose-topic-{{unbound id}}" name='choose_topic_id' {{action chooseTopic this target="view"}}>{{title}}
{{#if category.parentCategory}}
{{bound-category-link category.parentCategory}}
{{/if}}
{{bound-category-link category}}
</label>
</div>
{{/each}}