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

34 Zeilen
955 B
Handlebars

2023-07-10 08:55:54 +02:00
{{d-editor value=value 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}}
2023-07-10 08:55:54 +02:00
{{d-button action=(action "togglePreview") translatedLabel=previewLabel}}
2020-03-30 01:53:28 +02:00
{{/if}}
2021-04-12 16:19:53 +02:00
2020-03-29 09:49:33 +02:00
{{#if fieldsEnabled}}
2023-07-10 08:55:54 +02:00
{{d-button action=(action "togglePopover") translatedLabel=popoverLabel}}
2021-04-12 16:19:53 +02:00
2020-03-29 09:49:33 +02:00
{{#if showPopover}}
<div class="wizard-editor-gutter-popover">
<label>
2021-04-12 16:19:53 +02:00
{{i18n "admin.wizard.action.post_builder.user_properties"}}
{{userPropertyList}}
2020-03-29 09:49:33 +02:00
</label>
2021-04-12 16:19:53 +02:00
2020-04-14 07:46:06 +02:00
{{#if hasWizardFields}}
<label>
2021-04-12 16:19:53 +02:00
{{i18n "admin.wizard.action.post_builder.wizard_fields"}}
2020-04-14 07:46:06 +02:00
{{wizardFieldList}}
</label>
{{/if}}
2021-04-12 16:19:53 +02:00
{{#if hasWizardActions}}
<label>
2021-04-12 16:19:53 +02:00
{{i18n "admin.wizard.action.post_builder.wizard_actions"}}
{{wizardActionList}}
</label>
{{/if}}
2020-03-29 09:49:33 +02:00
</div>
{{/if}}
{{/if}}
2023-07-10 08:55:54 +02:00
</div>