0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 17:30:29 +01:00

Move pro conditions out of advanced section

Dieser Commit ist enthalten in:
angusmcleod 2021-08-10 17:18:49 +08:00
Ursprung f49f516403
Commit e81b773512
2 geänderte Dateien mit 39 neuen und 39 gelöschten Zeilen

Datei anzeigen

@ -207,13 +207,7 @@
</div> </div>
{{/if}} {{/if}}
{{#if showAdvanced}} {{#if proSubscribed}}
{{wizard-advanced-toggle showAdvanced=field.showAdvanced}}
{{#if field.showAdvanced}}
<div class="advanced-settings">
{{#if proSubscribed}}
<div class="setting full field-mapper-setting pro"> <div class="setting full field-mapper-setting pro">
<div class="setting-label"> <div class="setting-label">
<label>{{i18n "admin.wizard.condition"}}</label> <label>{{i18n "admin.wizard.condition"}}</label>
@ -226,7 +220,13 @@
options=fieldConditionOptions}} options=fieldConditionOptions}}
</div> </div>
</div> </div>
{{/if}} {{/if}}
{{#if showAdvanced}}
{{wizard-advanced-toggle showAdvanced=field.showAdvanced}}
{{#if field.showAdvanced}}
<div class="advanced-settings">
<div class="setting full field-mapper-setting"> <div class="setting full field-mapper-setting">
<div class="setting-label"> <div class="setting-label">

Datei anzeigen

@ -33,12 +33,7 @@
</div> </div>
</div> </div>
{{wizard-advanced-toggle showAdvanced=step.showAdvanced}} {{#if proSubscribed}}
{{#if step.showAdvanced}}
<div class="advanced-settings">
{{#if proSubscribed}}
<div class="setting full field-mapper-setting pro"> <div class="setting full field-mapper-setting pro">
<div class="setting-label"> <div class="setting-label">
<label>{{i18n "admin.wizard.condition"}}</label> <label>{{i18n "admin.wizard.condition"}}</label>
@ -60,7 +55,12 @@
<span>{{i18n "admin.wizard.step.force_final.description"}}</span> <span>{{i18n "admin.wizard.step.force_final.description"}}</span>
</div> </div>
</div> </div>
{{/if}} {{/if}}
{{wizard-advanced-toggle showAdvanced=step.showAdvanced}}
{{#if step.showAdvanced}}
<div class="advanced-settings">
<div class="setting full field-mapper-setting"> <div class="setting full field-mapper-setting">
<div class="setting-label"> <div class="setting-label">