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

15 Zeilen
446 B
Handlebars

2020-03-30 01:53:28 +02:00
<div class="wizard-header medium">{{{i18n header}}}</div>
2020-04-11 08:22:12 +02:00
<div class="link-list">
{{#if anyLinks}}
2020-03-30 01:53:28 +02:00
{{#each links as |l|}}
2020-04-11 08:22:12 +02:00
<div data-id='{{l.id}}'>
2020-03-30 01:53:28 +02:00
{{d-button action="change" actionParam=l.id translatedLabel=l.label class=l.classes}}
{{d-button action='remove' actionParam=l.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'}}
</div>