This commit also moves more logic in dropdown-select-box instead of duplicating it for notifications-options and pinned-options
13 lines
230 B
Handlebars
13 lines
230 B
Handlebars
<button
|
|
class="btn {{if text 'btn-icon-text' 'no-text btn-icon'}}"
|
|
aria-label="{{text}}"
|
|
type="button"
|
|
title="{{text}}">
|
|
|
|
{{{icon}}}
|
|
|
|
{{#if text}}
|
|
<span class="d-button-label">{{{text}}}</span>
|
|
{{/if}}
|
|
</button>
|