This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/templates/components/d-navigation.hbs
Sam 56cbfa2611 UX: Require an extra click to open topic draft
When there is a topic draft in place instead of showing "+ New Topic"
we will show "+ Open Draft", this allows topic drafts to be much less
intrusive.

Also, fixes draft handling of tags
2018-04-17 14:45:18 +10:00

29 lines
716 B
Handlebars

{{bread-crumbs categories=categories category=category noSubcategories=noSubcategories}}
{{#if showCategoryAdmin}}
{{categories-admin-dropdown
create=createCategory
reorder=reorderCategories}}
{{/if}}
{{navigation-bar navItems=navItems filterMode=filterMode category=category}}
{{#if showCategoryNotifications}}
{{category-notifications-button value=category.notification_level category=category}}
{{/if}}
{{create-topic-button
canCreateTopic=canCreateTopic
action=createTopic
disabled=createTopicDisabled
label=createTopicLabel
}}
{{#if showCategoryEdit}}
{{d-button
class="btn-default edit-category"
action=editCategory
icon="wrench"
label="category.edit_long"}}
{{/if}}