2024-11-22 16:51:24 +01:00
|
|
|
{{d-editor
|
|
|
|
value=this.value
|
|
|
|
forcePreview=this.forcePreview
|
|
|
|
placeholder=this.placeholder
|
|
|
|
}}
|
2024-11-22 16:45:50 +01:00
|
|
|
|
|
|
|
<div class="wizard-editor-gutter">
|
|
|
|
{{#if this.previewEnabled}}
|
2024-11-22 16:51:24 +01:00
|
|
|
{{d-button
|
|
|
|
action=(action "togglePreview")
|
|
|
|
translatedLabel=this.previewLabel
|
|
|
|
}}
|
2024-11-22 16:45:50 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if this.fieldsEnabled}}
|
2024-11-22 16:51:24 +01:00
|
|
|
{{d-button
|
|
|
|
action=(action "togglePopover")
|
|
|
|
translatedLabel=this.popoverLabel
|
|
|
|
}}
|
2024-11-22 16:45:50 +01:00
|
|
|
|
|
|
|
{{#if this.showPopover}}
|
|
|
|
<div class="wizard-editor-gutter-popover">
|
|
|
|
<label>
|
|
|
|
{{i18n "admin.wizard.action.post_builder.user_properties"}}
|
|
|
|
{{this.userPropertyList}}
|
|
|
|
</label>
|
|
|
|
|
|
|
|
{{#if this.hasWizardFields}}
|
|
|
|
<label>
|
|
|
|
{{i18n "admin.wizard.action.post_builder.wizard_fields"}}
|
|
|
|
{{this.wizardFieldList}}
|
|
|
|
</label>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if this.hasWizardActions}}
|
|
|
|
<label>
|
|
|
|
{{i18n "admin.wizard.action.post_builder.wizard_actions"}}
|
|
|
|
{{this.wizardActionList}}
|
|
|
|
</label>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|