mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 07:01:00 +08:00
7ab7e6bb23
Previous to this change there is no clean way to apply keyboard shortcuts to things such as "add poll" and other hidden options in the toolbar This allows shortcuts to be specified similar to how they are on the toolbar Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
15 lines
353 B
Handlebars
15 lines
353 B
Handlebars
{{#if this.icons}}
|
|
<div class="icons">
|
|
<span class="selection-indicator"></span>
|
|
{{#each this.icons as |icon|}}
|
|
{{d-icon icon}}
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="texts">
|
|
<span class="name">{{html-safe this.label}}</span>
|
|
{{#if this.description}}
|
|
<span class="desc">{{html-safe this.description}}</span>
|
|
{{/if}}
|
|
</div> |