mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
Uncategorized doesn't have a topic url
This commit is contained in:
parent
2d5cddc1b4
commit
c3ba7b9741
1 changed files with 7 additions and 2 deletions
|
@ -8,9 +8,14 @@
|
|||
|
||||
{{#if view.category.description}}
|
||||
{{view.category.description}}
|
||||
<a href="#" {{action showCategoryTopic target="view"}}>{{i18n category.change_in_category_topic}}</a>
|
||||
{{#if view.category.topic_url}}
|
||||
<a href="#" {{action showCategoryTopic target="view"}}>{{i18n category.change_in_category_topic}}</a>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{i18n category.no_description}} <a {{action showCategoryTopic target="view"}} href="#">{{i18n category.change_in_category_topic}}</a>
|
||||
{{i18n category.no_description}}
|
||||
{{#if view.category.topic_url}}
|
||||
<a {{action showCategoryTopic target="view"}} href="#">{{i18n category.change_in_category_topic}}</a>
|
||||
{{/if}}}
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue