Add parent category link to title of topics in a subcategory
This commit is contained in:
parent
1609950781
commit
578430fc1d
|
@ -10,6 +10,9 @@
|
|||
<a {{bind-attr class=":star topic.starred:starred"}} {{action toggleStar}} href='#' {{bind-attr title="topic.starTooltip"}}></a>
|
||||
{{/if}}
|
||||
<h1>
|
||||
{{#if topic.category.parentCategory}}
|
||||
{{boundCategoryLink topic.category.parentCategory}}
|
||||
{{/if}}
|
||||
{{boundCategoryLink topic.category}}
|
||||
{{#if topic.details.loaded}}
|
||||
{{topicStatus topic=topic}}
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
<button class='btn btn-small' {{action cancelEditingTopic}}><i class='fa fa-times'></i></button>
|
||||
{{else}}
|
||||
<h1>
|
||||
{{#if category.parentCategory}}
|
||||
{{boundCategoryLink category.parentCategory}}
|
||||
{{/if}}
|
||||
{{boundCategoryLink category}}
|
||||
{{#if details.loaded}}
|
||||
{{topicStatus topic=model}}
|
||||
|
|
Loading…
Reference in New Issue