Files
zulip/web/templates/settings/convert_demo_organization_form.hbs
Lauryn Menard 6b6a02f932 demo-orgs: Fix configure email banner action button on modals.
Fixes the action button on the configure email banner that appears
before a demo organization owner has added an email address on the
invite user and convert demo organization modals.

Adds the banner-wrapper class so that the general CSS rules for
banners are applied.

Removes the extra padding on the button as it does not appear to
be necessary any longer as the font and line height for the banner
label and action buttons is now the same.
2025-10-20 11:29:05 -07:00

26 lines
1.3 KiB
Handlebars

<div id="convert-demo-organization-form">
{{#unless user_has_email_set}}
<div class="demo-organization-add-email-banner banner-wrapper"></div>
{{/unless}}
<p>{{t "Everyone will need to log in again at the new URL for your organization." }}</p>
<form class="subdomain-setting">
<div class="input-group">
<label for="organization_type" class="modal-field-label">{{t "Organization type" }}
{{> ../help_link_widget link="/help/organization-type" }}
</label>
<select name="organization_type" id="add_organization_type" class="modal_select bootstrap-focus-style">
{{#each realm_org_type_values}}
<option value="{{this.code}}">{{this.description}}</option>
{{/each}}
</select>
</div>
<div class="input-group">
<label for="string_id" class="inline-block modal-field-label">{{t "Organization URL" }}</label>
<div id="subdomain_input_container">
<input id="new_subdomain" type="text" class="modal_text_input" autocomplete="off" name="string_id" placeholder="{{t 'acme' }}"/>
<label for="string_id" class="domain_label">.{{ realm_domain }}</label>
</div>
</div>
</form>
</div>