0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00
Dieser Commit ist enthalten in:
Angus McLeod 2019-07-22 17:28:49 +10:00
Ursprung 05b651fdc6
Commit 7a27139ebc
2 geänderte Dateien mit 9 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -30,13 +30,12 @@
content=popupMenuOptions}}
{{else}}
<div>{{d.icon}}</div>
{{d-button
action=b.action
actionParam=b
translatedTitle=b.title
label=b.label
icon=b.icon
class=b.className}}
<button class='wizard-btn {{b.className}}' {{action b.action b}} title="{{b.title}}">
{{d-icon b.icon}}
{{#if b.label}}
<span class="d-button-label">{{i18n b.label}}</span>
{{/if}}
</button>
{{/if}}
{{/each}}

Datei anzeigen

@ -1,2 +1,4 @@
{{wizard-editor showPreview=showPreview value=field.value placeholder=field.placeholder}}
{{d-button class='wizard-btn primary' action='togglePreview' label=togglePreviewLabel}}
<button class='wizard-btn primary' {{action 'togglePreview'}}>
<span class="d-button-label">{{i18n togglePreviewLabel}}</span>
</button>