0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-23 01:40:29 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-links.hbs

13 Zeilen
420 B
Handlebars

2020-03-30 01:53:28 +02:00
<div class="wizard-header medium">{{{i18n header}}}</div>
{{#if anyLinks}}
<ul>
{{#each links as |l|}}
<li data-id='{{l.id}}'>
{{d-button action="change" actionParam=l.id translatedLabel=l.label class=l.classes}}
{{d-button action='remove' actionParam=l.id icon='times' class='remove'}}
</li>
{{/each}}
</ul>
{{/if}}
{{d-button action='add' label='admin.wizard.add' icon='plus'}}