Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
Ursprung
13f5aeda98
Commit
61ad74e07b
11 geänderte Dateien mit 21 neuen und 20 gelöschten Zeilen
|
@ -8,7 +8,7 @@
|
|||
)}}
|
||||
|
||||
{{d-button
|
||||
action=(action "createApi")
|
||||
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=(action "addField")}}
|
||||
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=(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}}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
)}}
|
||||
|
||||
{{d-button
|
||||
action=(action "createWizard")
|
||||
action="createWizard"
|
||||
label="admin.wizard.create"
|
||||
icon="plus"}}
|
||||
</div>
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{#if showUndo}}
|
||||
{{d-button
|
||||
action=(action "undoChanges")
|
||||
action="undoChanges"
|
||||
icon=undoIcon
|
||||
label=undoKey
|
||||
class="undo-changes"}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{#if showUndo}}
|
||||
{{d-button
|
||||
action=(action "undoChanges")
|
||||
action="undoChanges"
|
||||
icon=undoIcon
|
||||
label=undoKey
|
||||
class="undo-changes"}}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
Laden …
In neuem Issue referenzieren