Update action usage
Dieser Commit ist enthalten in:
Ursprung
72e16ad9c3
Commit
37685ea8cf
11 geänderte Dateien mit 20 neuen und 21 gelöschten Zeilen
|
@ -8,7 +8,7 @@
|
|||
)}}
|
||||
|
||||
{{d-button
|
||||
action="createApi"
|
||||
action=(action "createApi")
|
||||
label="admin.wizard.api.create"
|
||||
icon="plus"}}
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{d-button
|
||||
label="admin.wizard.custom_field.add"
|
||||
icon="plus"
|
||||
action="addField"}}
|
||||
action=(action "addField")}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
{{input type="checkbox" checked=wizard.after_time}}
|
||||
<span>{{i18n "admin.wizard.after_time_label"}}</span>
|
||||
{{d-button
|
||||
action="setNextSessionScheduled"
|
||||
action=(action "setNextSessionScheduled")
|
||||
translatedLabel=nextSessionScheduledLabel
|
||||
class="btn-after-time"
|
||||
icon="far-calendar"}}
|
||||
|
@ -191,7 +191,7 @@
|
|||
currentActionId=currentAction.id
|
||||
wizard=wizard
|
||||
apis=apis
|
||||
removeAction="removeAction"
|
||||
removeAction=(action "removeAction")
|
||||
wizardFields=wizardFields}}
|
||||
{{/each}}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
)}}
|
||||
|
||||
{{d-button
|
||||
action="createWizard"
|
||||
action=(action "createWizard")
|
||||
label="admin.wizard.create"
|
||||
icon="plus"}}
|
||||
</div>
|
||||
|
|
|
@ -34,17 +34,17 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
{{d-button
|
||||
action="destroy"
|
||||
action=(action "destroy")
|
||||
icon="trash-alt"
|
||||
class="destroy"
|
||||
disabled=destroyDisabled}}
|
||||
{{d-button
|
||||
icon="save"
|
||||
action="save"
|
||||
action=(action "save")
|
||||
disabled=saveDisabled
|
||||
class="save"}}
|
||||
{{d-button
|
||||
action="close"
|
||||
action=(action "close")
|
||||
icon="times"
|
||||
disabled=closeDisabled}}
|
||||
</td>
|
||||
|
@ -69,7 +69,7 @@
|
|||
</td>
|
||||
{{else}}
|
||||
<td class="actions">
|
||||
{{d-button action="edit" icon="pencil-alt"}}
|
||||
{{d-button action=(action "edit") icon="pencil-alt"}}
|
||||
</td>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{#if showUndo}}
|
||||
{{d-button
|
||||
action="undoChanges"
|
||||
action=(action "undoChanges")
|
||||
icon=undoIcon
|
||||
label=undoKey
|
||||
class="undo-changes"}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{#if showUndo}}
|
||||
{{d-button
|
||||
action="undoChanges"
|
||||
action=(action "undoChanges")
|
||||
icon=undoIcon
|
||||
label=undoKey
|
||||
class="undo-changes"}}
|
||||
|
|
|
@ -4,17 +4,16 @@
|
|||
{{#if anyLinks}}
|
||||
{{#each links as |link|}}
|
||||
<div data-id={{link.id}}>
|
||||
{{d-button action="change" actionParam=link.id translatedLabel=link.label class=link.classes}}
|
||||
{{d-button action=(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"}}
|
||||
{{d-button action=(action "back") actionParam=link icon="arrow-left" class="back"}}
|
||||
{{/unless}}
|
||||
{{#unless link.last}}
|
||||
{{d-button action="forward" actionParam=link icon="arrow-right" class="forward"}}
|
||||
{{d-button action=(action "forward") actionParam=link icon="arrow-right" class="forward"}}
|
||||
{{/unless}}
|
||||
{{d-button action="remove" actionParam=link.id icon="times" class="remove"}}
|
||||
{{d-button action=(action "remove") actionParam=link.id icon="times" class="remove"}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{d-button action="add" label="admin.wizard.add" icon="plus"}}
|
||||
{{d-button action=(action "add") label="admin.wizard.add" icon="plus"}}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
|
||||
{{#if canAdd}}
|
||||
<span class="add-mapper-input">
|
||||
{{d-button action="add" label="admin.wizard.add" icon="plus"}}
|
||||
{{d-button action=(action "add") label="admin.wizard.add" icon="plus"}}
|
||||
</span>
|
||||
{{/if}}
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
<div class="wizard-editor-gutter">
|
||||
{{#if previewEnabled}}
|
||||
{{d-button
|
||||
action="togglePreview"
|
||||
action=(action "togglePreview")
|
||||
translatedLabel=previewLabel}}
|
||||
{{/if}}
|
||||
|
||||
{{#if fieldsEnabled}}
|
||||
{{d-button
|
||||
action="togglePopover"
|
||||
action=(action "togglePopover")
|
||||
translatedLabel=popoverLabel}}
|
||||
|
||||
{{#if showPopover}}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<div class="modal-footer">
|
||||
{{d-button
|
||||
action="submit"
|
||||
action=(action "submit")
|
||||
class="btn-primary"
|
||||
label="admin.wizard.after_time_modal.done"
|
||||
disabled=submitDisabled}}
|
||||
|
|
Laden …
In neuem Issue referenzieren