1
0
Fork 0

Revert "Update action usage"

This reverts commit 37685ea8cf.
Dieser Commit ist enthalten in:
Angus McLeod 2022-04-04 12:14:00 +02:00
Ursprung 13f5aeda98
Commit 61ad74e07b
11 geänderte Dateien mit 21 neuen und 20 gelöschten Zeilen

Datei anzeigen

@ -8,7 +8,7 @@
)}}
{{d-button
action=(action "createApi")
action="createApi"
label="admin.wizard.api.create"
icon="plus"}}
</div>

Datei anzeigen

@ -5,7 +5,7 @@
{{d-button
label="admin.wizard.custom_field.add"
icon="plus"
action=(action "addField")}}
action="addField"}}
</div>
</div>

Datei anzeigen

@ -101,7 +101,7 @@
{{input type="checkbox" checked=wizard.after_time}}
<span>{{i18n "admin.wizard.after_time_label"}}</span>
{{d-button
action=(action "setNextSessionScheduled")
action="setNextSessionScheduled"
translatedLabel=nextSessionScheduledLabel
class="btn-after-time"
icon="far-calendar"}}
@ -191,7 +191,7 @@
currentActionId=currentAction.id
wizard=wizard
apis=apis
removeAction=(action "removeAction")
removeAction="removeAction"
wizardFields=wizardFields}}
{{/each}}

Datei anzeigen

@ -8,7 +8,7 @@
)}}
{{d-button
action=(action "createWizard")
action="createWizard"
label="admin.wizard.create"
icon="plus"}}
</div>

Datei anzeigen

@ -34,17 +34,17 @@
{{/if}}
{{/if}}
{{d-button
action=(action "destroy")
action="destroy"
icon="trash-alt"
class="destroy"
disabled=destroyDisabled}}
{{d-button
icon="save"
action=(action "save")
action="save"
disabled=saveDisabled
class="save"}}
{{d-button
action=(action "close")
action="close"
icon="times"
disabled=closeDisabled}}
</td>
@ -69,7 +69,7 @@
</td>
{{else}}
<td class="actions">
{{d-button action=(action "edit") icon="pencil-alt"}}
{{d-button action="edit" icon="pencil-alt"}}
</td>
{{/if}}
{{/if}}

Datei anzeigen

@ -1,6 +1,6 @@
{{#if showUndo}}
{{d-button
action=(action "undoChanges")
action="undoChanges"
icon=undoIcon
label=undoKey
class="undo-changes"}}

Datei anzeigen

@ -1,6 +1,6 @@
{{#if showUndo}}
{{d-button
action=(action "undoChanges")
action="undoChanges"
icon=undoIcon
label=undoKey
class="undo-changes"}}

Datei anzeigen

@ -4,16 +4,17 @@
{{#if anyLinks}}
{{#each links as |link|}}
<div data-id={{link.id}}>
{{d-button action=(action "change") actionParam=link.id translatedLabel=link.label class=link.classes}}
{{d-button action="change" actionParam=link.id translatedLabel=link.label class=link.classes}}
{{#unless link.first}}
{{d-button action=(action "back") actionParam=link icon="arrow-left" class="back"}}
{{d-button action="back" actionParam=link icon="arrow-left" class="back"}}
{{/unless}}
{{#unless link.last}}
{{d-button action=(action "forward") actionParam=link icon="arrow-right" class="forward"}}
{{d-button action="forward" actionParam=link icon="arrow-right" class="forward"}}
{{/unless}}
{{d-button action=(action "remove") actionParam=link.id icon="times" class="remove"}}
{{d-button action="remove" actionParam=link.id icon="times" class="remove"}}
</div>
{{/each}}
{{/if}}
{{d-button action=(action "add") label="admin.wizard.add" icon="plus"}}
{{d-button action="add" label="admin.wizard.add" icon="plus"}}
</div>

Datei anzeigen

@ -15,6 +15,6 @@
{{#if canAdd}}
<span class="add-mapper-input">
{{d-button action=(action "add") label="admin.wizard.add" icon="plus"}}
{{d-button action="add" label="admin.wizard.add" icon="plus"}}
</span>
{{/if}}

Datei anzeigen

@ -6,13 +6,13 @@
<div class="wizard-editor-gutter">
{{#if previewEnabled}}
{{d-button
action=(action "togglePreview")
action="togglePreview"
translatedLabel=previewLabel}}
{{/if}}
{{#if fieldsEnabled}}
{{d-button
action=(action "togglePopover")
action="togglePopover"
translatedLabel=popoverLabel}}
{{#if showPopover}}

Datei anzeigen

@ -9,7 +9,7 @@
<div class="modal-footer">
{{d-button
action=(action "submit")
action="submit"
class="btn-primary"
label="admin.wizard.after_time_modal.done"
disabled=submitDisabled}}