1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/templates/components/wizard-links.hbs
Angus McLeod d8fd5cb258 various
2020-04-11 16:22:12 +10:00

14 Zeilen
446 B
Handlebars

<div class="wizard-header medium">{{{i18n header}}}</div>
<div class="link-list">
{{#if anyLinks}}
{{#each links as |l|}}
<div 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'}}
</div>
{{/each}}
{{/if}}
{{d-button action='add' label='admin.wizard.add' icon='plus'}}
</div>