mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 20:28:13 +08:00
315b9d796d
* better test helper * more reliable tests * more consistent use of data-value/data-name/title/aria-label everywhere: header and rows
16 lines
340 B
Handlebars
16 lines
340 B
Handlebars
{{#if template}}
|
|
{{{template}}}
|
|
{{else}}
|
|
{{#if icons}}
|
|
<div class="icons">
|
|
<span class="selection-indicator"></span>
|
|
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="texts">
|
|
<span class="name">{{{label}}}</span>
|
|
<span class="desc">{{{description}}}</span>
|
|
</div>
|
|
{{/if}}
|