0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-30 04:30:29 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-text-editor.hbs

41 Zeilen
989 B
Handlebars

2020-03-29 09:49:33 +02:00
{{d-editor
value=value
2020-03-30 01:53:28 +02:00
forcePreview=forcePreview
placeholder=placeholder}}
2020-03-29 09:49:33 +02:00
<div class="wizard-editor-gutter">
2020-03-30 01:53:28 +02:00
{{#if previewEnabled}}
{{d-button
action="togglePreview"
translatedLabel=previewLabel}}
{{/if}}
2020-03-29 09:49:33 +02:00
{{#if fieldsEnabled}}
{{d-button
action="togglePopover"
translatedLabel=popoverLabel}}
{{#if showPopover}}
<div class="wizard-editor-gutter-popover">
<label>
{{i18n 'admin.wizard.action.post_builder.user_properties'}}
{{userPropertyList}}
2020-03-29 09:49:33 +02:00
</label>
2020-04-14 07:46:06 +02:00
{{#if hasWizardFields}}
<label>
{{i18n 'admin.wizard.action.post_builder.wizard_fields'}}
{{wizardFieldList}}
</label>
{{/if}}
{{#if hasWizardActions}}
<label>
{{i18n 'admin.wizard.action.post_builder.wizard_actions'}}
{{wizardActionList}}
</label>
{{/if}}
2020-03-29 09:49:33 +02:00
</div>
{{/if}}
{{/if}}
</div>