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

34 Zeilen
955 B
Handlebars

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