Merge pull request #2807 from techAPJ/patch-2

UX: show category when moving post to exisiting topic
This commit is contained in:
Sam 2014-09-22 11:59:02 +10:00
commit cfa0d66548
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}}