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

21 Zeilen
750 B
Handlebars

2021-04-12 16:19:53 +02:00
<div class="wizard-header medium">{{html-safe (i18n header)}}</div>
2020-04-11 08:22:12 +02:00
<div class="link-list">
{{#if anyLinks}}
{{#each links as |link|}}
<div data-id={{link.id}}>
{{d-button action="change" actionParam=link.id translatedLabel=link.label class=link.classes}}
{{#unless link.first}}
{{d-button action="back" actionParam=link icon="arrow-left" class="back"}}
{{/unless}}
{{#unless link.last}}
{{d-button action="forward" actionParam=link icon="arrow-right" class="forward"}}
{{/unless}}
{{d-button action="remove" actionParam=link.id icon="times" class="remove"}}
2020-04-11 08:22:12 +02:00
</div>
2020-03-30 01:53:28 +02:00
{{/each}}
2020-04-11 08:22:12 +02:00
{{/if}}
{{d-button action="add" label="admin.wizard.add" icon="plus"}}
2020-04-11 08:22:12 +02:00
</div>