Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-10 12:22:54 +01:00
911a47db28
* IMPROVE: Remove sortable and add manual step and field sorting * Apply eslint * Apply prettier
20 Zeilen
750 B
Handlebars
20 Zeilen
750 B
Handlebars
<div class="wizard-header medium">{{html-safe (i18n header)}}</div>
|
|
|
|
<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"}}
|
|
</div>
|
|
{{/each}}
|
|
{{/if}}
|
|
{{d-button action="add" label="admin.wizard.add" icon="plus"}}
|
|
</div>
|
|
|