Move category badge to left of topic name in non-fixed header
This commit is contained in:
parent
7ef76fd4c3
commit
6ff2abd6aa
|
@ -10,13 +10,14 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if editingTopic}}
|
{{#if editingTopic}}
|
||||||
{{textField id='edit-title' value=newTitle}}
|
|
||||||
{{categoryChooser valueAttribute="id" value=newCategoryId source=category_id}}
|
{{categoryChooser valueAttribute="id" value=newCategoryId source=category_id}}
|
||||||
|
{{textField id='edit-title' value=newTitle}}
|
||||||
|
|
||||||
<button class='btn btn-primary btn-small' {{action finishedEditingTopic}}><i class='icon-ok'></i></button>
|
<button class='btn btn-primary btn-small' {{action finishedEditingTopic}}><i class='icon-ok'></i></button>
|
||||||
<button class='btn btn-small' {{action cancelEditingTopic}}><i class='icon-remove'></i></button>
|
<button class='btn btn-small' {{action cancelEditingTopic}}><i class='icon-remove'></i></button>
|
||||||
{{else}}
|
{{else}}
|
||||||
<h1>
|
<h1>
|
||||||
|
{{boundCategoryLink category}}
|
||||||
{{#if details.loaded}}
|
{{#if details.loaded}}
|
||||||
{{topicStatus topic=model}}
|
{{topicStatus topic=model}}
|
||||||
<a href='{{unbound url}}'>
|
<a href='{{unbound url}}'>
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{boundCategoryLink category}}
|
|
||||||
|
|
||||||
{{#if details.can_edit}}
|
{{#if details.can_edit}}
|
||||||
<a href='#' {{action editTopic}} class='edit-topic' title='{{i18n edit}}'><i class="icon-pencil"></i></a>
|
<a href='#' {{action editTopic}} class='edit-topic' title='{{i18n edit}}'><i class="icon-pencil"></i></a>
|
||||||
|
|
Loading…
Reference in New Issue