UX: Add a `span` to d-button so text can be hidden via CSS
This commit is contained in:
parent
f6222ff225
commit
f7b686117b
|
@ -2,5 +2,8 @@
|
||||||
{{fa-icon icon}}
|
{{fa-icon icon}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{{translatedLabel}}}
|
{{#if translatedLabel}}
|
||||||
|
<span class='d-button-label'>{{{translatedLabel}}}</span>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{yield}}
|
{{yield}}
|
||||||
|
|
|
@ -7,6 +7,11 @@
|
||||||
{{categories-admin-dropdown}}
|
{{categories-admin-dropdown}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if canCreateTopic}}
|
{{#if canCreateTopic}}
|
||||||
<button id="create-topic" class='btn btn-default' {{action "createTopic"}}><i class='fa fa-plus'></i><span>{{i18n 'topic.create'}}</span></button>
|
{{d-button
|
||||||
|
id="create-topic"
|
||||||
|
action="createTopic"
|
||||||
|
icon="plus"
|
||||||
|
label="topic.create"
|
||||||
|
}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/d-section}}
|
{{/d-section}}
|
||||||
|
|
Loading…
Reference in New Issue