mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 11:23:27 +08:00
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
No EOL
353 B
Handlebars
Vendored
15 lines
No EOL
353 B
Handlebars
Vendored
{{#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> |