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}}
|
2021-07-20 09:32:18 +02:00
|
|
|
{{#each links as |link|}}
|
|
|
|
<div data-id={{link.id}}>
|
2023-07-10 08:55:54 +02:00
|
|
|
{{d-button
|
|
|
|
action=(action "change")
|
|
|
|
actionParam=link.id
|
|
|
|
translatedLabel=link.label
|
|
|
|
class=link.classes
|
|
|
|
}}
|
2021-07-20 09:32:18 +02:00
|
|
|
{{#unless link.first}}
|
2023-07-10 08:55:54 +02:00
|
|
|
{{d-button
|
|
|
|
action=(action "back")
|
|
|
|
actionParam=link
|
|
|
|
icon="arrow-left"
|
|
|
|
class="back"
|
|
|
|
}}
|
2021-07-20 09:32:18 +02:00
|
|
|
{{/unless}}
|
|
|
|
{{#unless link.last}}
|
2023-07-10 08:55:54 +02:00
|
|
|
{{d-button
|
|
|
|
action=(action "forward")
|
|
|
|
actionParam=link
|
|
|
|
icon="arrow-right"
|
|
|
|
class="forward"
|
|
|
|
}}
|
2021-07-20 09:32:18 +02:00
|
|
|
{{/unless}}
|
2023-07-10 08:55:54 +02:00
|
|
|
{{d-button
|
|
|
|
action=(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}}
|
2022-03-29 21:15:09 +02:00
|
|
|
{{d-button action=(action "add") label="admin.wizard.add" icon="plus"}}
|
2023-07-10 08:55:54 +02:00
|
|
|
</div>
|