0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-23 09:50:28 +01:00
discourse-custom-wizard/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>