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/create-topic-button.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

10 lines
168 B
Handlebars

{{#if canCreateTopic}}
{{d-button
id="create-topic"
class="btn btn-default"
action=action
icon="plus"
disabled=disabled
label=label}}
{{/if}}