From 6ff2abd6aafb4ed0b950b4260412787b5433902a Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 31 Oct 2013 16:31:01 -0400 Subject: [PATCH] Move category badge to left of topic name in non-fixed header --- .../javascripts/discourse/templates/topic.js.handlebars | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/topic.js.handlebars b/app/assets/javascripts/discourse/templates/topic.js.handlebars index c81775e2ff8..3496ccc033b 100644 --- a/app/assets/javascripts/discourse/templates/topic.js.handlebars +++ b/app/assets/javascripts/discourse/templates/topic.js.handlebars @@ -10,13 +10,14 @@ {{/if}} {{#if editingTopic}} - {{textField id='edit-title' value=newTitle}} {{categoryChooser valueAttribute="id" value=newCategoryId source=category_id}} + {{textField id='edit-title' value=newTitle}} {{else}}

+ {{boundCategoryLink category}} {{#if details.loaded}} {{topicStatus topic=model}} @@ -27,7 +28,7 @@ {{/if}} {{/if}} - {{boundCategoryLink category}} + {{#if details.can_edit}}