2017-08-18 01:23:55 +02:00
|
|
|
|
<div id="organization-profile" data-name="organization-profile" class="settings-section">
|
2023-01-10 11:33:08 +01:00
|
|
|
|
<form class="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
|
|
|
|
|
2022-11-03 13:18:42 +01:00
|
|
|
|
<div id="org-org-profile" class="settings-subsection-parent">
|
2018-03-26 11:45:04 +02:00
|
|
|
|
<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>
|
2022-04-12 17:41:07 +02:00
|
|
|
|
<div class="input-group admin-realm">
|
|
|
|
|
<label for="realm_org_type" class="dropdown-title">{{t "Organization type" }}
|
|
|
|
|
{{> ../help_link_widget link="/help/organization-type" }}
|
|
|
|
|
</label>
|
2022-12-26 11:12:15 +01:00
|
|
|
|
<select name="realm_org_type" class="setting-widget prop-element bootstrap-focus-style" id="id_realm_org_type" data-setting-widget-type="number">
|
2022-04-12 17:41:07 +02:00
|
|
|
|
{{> dropdown_options_widget option_values=realm_org_type_values}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2022-04-22 18:45:30 +02:00
|
|
|
|
{{> settings_checkbox
|
|
|
|
|
setting_name="realm_want_advertise_in_communities_directory"
|
|
|
|
|
prefix="id_"
|
|
|
|
|
is_checked=realm_want_advertise_in_communities_directory
|
|
|
|
|
is_disabled=disable_want_advertise_in_communities_directory
|
|
|
|
|
label=admin_settings_label.realm_want_advertise_in_communities_directory
|
|
|
|
|
help_link="/help/communities-directory"}}
|
2018-03-26 11:45:04 +02:00
|
|
|
|
<div class="input-group admin-realm">
|
2018-06-21 21:43:54 +02:00
|
|
|
|
<label for="realm_description">{{t "Organization description" }}</label>
|
2022-11-25 12:12:51 +01:00
|
|
|
|
<textarea id="id_realm_description" name="realm_description" class="admin-realm-description setting-widget prop-element settings_textarea"
|
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">
|
2020-06-17 05:58:39 +02:00
|
|
|
|
{{> image_upload_widget
|
|
|
|
|
widget = "realm-icon"
|
2020-06-17 15:10:03 +02:00
|
|
|
|
upload_text = (t "Upload icon")
|
|
|
|
|
delete_text = (t "Delete icon")
|
2020-06-17 05:58:39 +02:00
|
|
|
|
is_editable_by_current_user = is_admin
|
|
|
|
|
image = realm_icon_url }}
|
2017-08-18 01:23:55 +02:00
|
|
|
|
</div>
|
2020-05-26 05:15:21 +02:00
|
|
|
|
<a href="/login/?preview=true" target="_blank" rel="noopener noreferrer" class="button rounded sea-green w-200 block" id="id_org_profile_preview">
|
2019-04-13 09:37:53 +02:00
|
|
|
|
{{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
|
|
|
|
|
2022-10-12 11:41:22 +02:00
|
|
|
|
<p>{{t "A wide image (200×25 pixels) for the upper left corner of the app." }}</p>
|
2022-03-16 20:25:51 +01:00
|
|
|
|
<div class="realm-logo-group">
|
|
|
|
|
<div class="realm-logo-block realm-logo-section">
|
2023-01-03 17:43:32 +01:00
|
|
|
|
<h5 class="realm-logo-title">{{t "Light theme logo" }}</h5>
|
2022-03-16 20:25:51 +01:00
|
|
|
|
{{> image_upload_widget
|
|
|
|
|
widget = "realm-day-logo"
|
|
|
|
|
upload_text = (t "Upload logo")
|
|
|
|
|
delete_text = (t "Delete logo")
|
|
|
|
|
is_editable_by_current_user = user_can_change_logo
|
|
|
|
|
image = realm_logo_url }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="realm-logo-block realm-logo-section">
|
2023-01-03 17:43:32 +01:00
|
|
|
|
<h5 class="realm-logo-title">{{t "Dark theme logo" }}</h5>
|
2022-03-16 20:25:51 +01:00
|
|
|
|
{{> image_upload_widget
|
|
|
|
|
widget = "realm-night-logo"
|
|
|
|
|
upload_text = (t "Upload logo")
|
|
|
|
|
delete_text = (t "Delete logo")
|
|
|
|
|
is_editable_by_current_user = user_can_change_logo
|
|
|
|
|
image = realm_night_logo_url }}
|
|
|
|
|
</div>
|
2020-06-17 07:43:53 +02:00
|
|
|
|
</div>
|
2020-06-11 13:26:27 +02:00
|
|
|
|
<h3 class="light">
|
|
|
|
|
{{t "Deactivate organization" }}
|
2023-01-14 21:28:39 +01:00
|
|
|
|
{{> ../help_link_widget link="/help/deactivate-your-organization" }}
|
2020-06-11 13:26:27 +02:00
|
|
|
|
</h3>
|
2018-01-30 14:58:50 +01:00
|
|
|
|
<div class="deactivate-realm-section">
|
|
|
|
|
<div class="input-group">
|
2023-01-25 18:50:46 +01:00
|
|
|
|
<div id="deactivate_realm_button_container" class="inline-block {{#unless is_owner}}disabled_setting_tooltip{{/unless}}">
|
2023-01-14 21:28:39 +01:00
|
|
|
|
<button class="button rounded btn-danger" id="deactivate_realm_button">
|
|
|
|
|
{{t 'Deactivate organization' }}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
2018-01-30 14:58:50 +01:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
|
</form>
|
|
|
|
|
</div>
|