mirror of
https://github.com/discourse/discourse.git
synced 2025-01-12 00:43:48 +08:00
ae2153b330
* UX: Wizard Step Enhancements - Remove illustrations - Add Emoji graphic to top of steps - Add description below step title - Move point of contact to last step * Move step count to header, plus some button navigation tweaks * add remaining emoji to step headers * fix button logic on steps * Update Point of Contact * remove automated messages field * adjust styling for counter, title, and emoji * Update wording for logos * Fix tests * fix prettier * fix specs * set same with for steps except for styling screen * use sentence case; remove duplicate copy under your organization fields * fix missing buttons on small screens * add spacing to buttons; adjust font weight to labels * adjust styling for community logo step; use sentence case for button * update copy for point of contact text helper * use sentence case for field labels * fix ui tests * use btn-back class to fix ui tests * reduce bottom margin for toggle fields * clean up Co-authored-by: Ella <ella.estigoy@gmail.com>
14 lines
460 B
Handlebars
14 lines
460 B
Handlebars
<label class="wizard-container__button wizard-container__button-upload {{if this.uploading "disabled"}}">
|
|
{{#if this.uploading}}
|
|
{{i18n "wizard.uploading"}}
|
|
{{else}}
|
|
{{i18n "wizard.upload"}}
|
|
{{/if}}
|
|
|
|
<input class="wizard-hidden-upload-field" disabled={{this.uploading}} type="file" accept="image/*">
|
|
</label>
|
|
|
|
{{#if this.field.value}}
|
|
{{component this.previewComponent field=this.field fieldClass=this.fieldClass wizard=this.wizard}}
|
|
{{/if}}
|