1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/templates/components/wizard-links.hbs
2021-04-12 19:49:53 +05:30

14 Zeilen
454 B
Handlebars

<div class="wizard-header medium">{{html-safe (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>