2017-08-18 01:23:55 +02:00
|
|
|
<div id="organization-profile" data-name="organization-profile" class="settings-section">
|
|
|
|
<form class="form-horizontal admin-realm-form org-profile-form">
|
2018-01-30 14:58:50 +01:00
|
|
|
<div class="alert" id="admin-realm-deactivation-status"></div>
|
2017-08-18 01:23:55 +02:00
|
|
|
|
2018-03-26 11:45:04 +02:00
|
|
|
<div id="org-org-profile" class="org-subsection-parent">
|
|
|
|
<div class="subsection-header">
|
2018-12-18 21:34:02 +01:00
|
|
|
<h3>{{t "Organization profile" }}
|
2020-05-15 20:43:31 +02:00
|
|
|
{{> ../help_link_widget link="/help/create-your-organization-profile" }}
|
2018-12-18 21:34:02 +01:00
|
|
|
</h3>
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> settings_save_discard_widget section_name="org-profile" }}
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
|
|
|
|
2018-03-26 11:45:04 +02:00
|
|
|
<div class="organization-settings-parent">
|
|
|
|
<div class="input-group admin-realm">
|
2018-06-21 21:43:54 +02:00
|
|
|
<label for="id_realm_name">{{t "Organization name" }}</label>
|
2019-04-04 16:36:12 +02:00
|
|
|
<input type="text" id="id_realm_name" name="realm_name" class="admin-realm-name setting-widget prop-element"
|
2020-05-07 11:20:22 +02:00
|
|
|
autocomplete="off" data-setting-widget-type="string"
|
2018-04-03 10:07:23 +02:00
|
|
|
value="{{ realm_name }}" maxlength="40" />
|
2018-03-26 11:45:04 +02:00
|
|
|
</div>
|
|
|
|
<div class="input-group admin-realm">
|
2018-06-21 21:43:54 +02:00
|
|
|
<label for="realm_description">{{t "Organization description" }}</label>
|
2019-04-04 16:36:12 +02:00
|
|
|
<textarea id="id_realm_description" name="realm_description" class="admin-realm-description setting-widget prop-element"
|
2020-05-07 11:20:22 +02:00
|
|
|
maxlength="1000" data-setting-widget-type="string">{{ realm_description }}</textarea>
|
2018-03-26 11:45:04 +02:00
|
|
|
</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-03-09 17:43:48 +01:00
|
|
|
<div>{{t "Organization profile picture" }}</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
<div class="realm-icon-section">
|
|
|
|
<div class="inline-block">
|
2020-05-27 04:43:33 +02:00
|
|
|
<div class="avatar-icon-settings">
|
|
|
|
{{#if is_admin}}
|
|
|
|
<div id="realm-icon-background"></div>
|
|
|
|
<span id="realm_icon_delete_button" aria-label="{{t 'Delete organization icon'}}" role="button" tabindex="0">
|
|
|
|
×
|
|
|
|
</span>
|
|
|
|
<span id="realm_icon_delete" aria-label="{{t 'Delete organization icon'}}" tabindex="0">
|
|
|
|
{{t 'Delete icon' }}
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
<img id="realm-icon-block" src="{{ realm_icon_url }}"/>
|
|
|
|
<input type="file" name="realm_icon_file_input" class="notvisible"
|
|
|
|
id="realm_icon_file_input" value="{{t 'Upload profile picture' }}"/>
|
|
|
|
</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
2020-03-28 20:33:49 +01:00
|
|
|
{{#if is_admin}}
|
2017-08-18 01:23:55 +02:00
|
|
|
<div class="inline-block avatar-controls">
|
2018-08-16 01:26:55 +02:00
|
|
|
<div id="realm_icon_file_input_error" class="alert text-error"></div>
|
2017-08-18 01:23:55 +02:00
|
|
|
<button class="button rounded sea-green w-200 block input-size"
|
2018-08-16 01:26:55 +02:00
|
|
|
id="realm_icon_upload_button">
|
2019-03-09 17:43:48 +01:00
|
|
|
<span id="upload_icon_button_text">{{t 'Upload new profile picture' }}</span>
|
2018-08-16 01:26:55 +02:00
|
|
|
<span id="upload_icon_spinner"></span>
|
|
|
|
</button>
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
2020-03-28 20:33:49 +01:00
|
|
|
{{/if}}
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
2019-04-13 09:37:53 +02:00
|
|
|
<a href="/login/?preview=true" target="_blank" class="button rounded sea-green w-200 block" id="id_org_profile_preview">
|
|
|
|
{{t 'Preview organization profile' }}
|
|
|
|
<i class="fa fa-external-link" aria-hidden="true" title="{{t 'Preview organization profile' }}"></i>
|
|
|
|
</a>
|
2018-01-30 14:58:50 +01:00
|
|
|
|
2019-05-15 06:09:47 +02:00
|
|
|
<div class="subsection-header">
|
|
|
|
<h3>{{t "Organization logo" }}
|
2020-05-15 20:43:31 +02:00
|
|
|
{{> ../help_link_widget link="/help/create-your-organization-profile#add-a-wide-logo" }}
|
2019-05-15 06:09:47 +02:00
|
|
|
</h3>
|
2020-05-07 13:17:54 +02:00
|
|
|
{{> upgrade_tip_widget }}
|
2019-05-15 06:09:47 +02:00
|
|
|
</div>
|
2018-08-16 01:26:55 +02:00
|
|
|
|
2019-05-15 06:09:47 +02:00
|
|
|
<p>{{t "A wide image for the upper left corner of the app." }}</p>
|
2019-08-21 14:41:27 +02:00
|
|
|
{{> realm-logo-widget
|
|
|
|
theme_mode="day"
|
|
|
|
logo_url=realm_logo_url}}
|
2018-08-16 01:26:55 +02:00
|
|
|
|
2019-08-21 14:41:27 +02:00
|
|
|
{{> realm-logo-widget
|
|
|
|
theme_mode="night"
|
|
|
|
logo_url=realm_night_logo_url}}
|
2019-01-27 08:25:10 +01:00
|
|
|
|
2018-01-30 14:58:50 +01:00
|
|
|
<h3 class="light">{{t "Deactivate organization" }}</h3>
|
|
|
|
<div class="deactivate-realm-section">
|
|
|
|
<div class="input-group">
|
|
|
|
<button class="button rounded btn-danger" id="deactivate_realm_button">
|
|
|
|
{{t 'Deactivate organization' }}
|
|
|
|
</button>
|
|
|
|
</div>
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> deactivate_realm_modal}}
|
2018-01-30 14:58:50 +01:00
|
|
|
</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
</form>
|
|
|
|
</div>
|