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" }}
|
|
|
|
<a href="/help/create-your-organization-profile" target="_blank">
|
|
|
|
<i class="fa fa-question-circle-o" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
</h3>
|
2018-03-26 12:06:42 +02:00
|
|
|
{{ partial "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-03-06 17:24:14 +01:00
|
|
|
<input type="text" id="id_realm_name" name="realm_name" class="admin-realm-name setting-widget"
|
|
|
|
autocomplete="off" data-setting-widget-type="text"
|
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-03-06 17:24:14 +01:00
|
|
|
<textarea id="id_realm_description" name="realm_description" class="admin-realm-description setting-widget"
|
|
|
|
maxlength="1000" data-setting-widget-type="text">{{ realm_description }}</textarea>
|
2018-03-26 11:45:04 +02:00
|
|
|
</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-12-18 21:34:02 +01:00
|
|
|
<div>{{t "Organization avatar" }}</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
<div class="realm-icon-section">
|
|
|
|
<div class="inline-block">
|
|
|
|
<img id="realm-settings-icon" src="{{ realm_icon_url }}"/>
|
|
|
|
<input type="file" name="realm_icon_file_input" class="notvisible"
|
2018-04-03 10:07:23 +02:00
|
|
|
id="realm_icon_file_input" value="{{t 'Upload icon' }}"/>
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
|
|
|
<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">
|
2018-12-18 21:34:02 +01:00
|
|
|
<span id="upload_icon_button_text">{{t 'Upload new avatar' }}</span>
|
2018-08-16 01:26:55 +02:00
|
|
|
<span id="upload_icon_spinner"></span>
|
|
|
|
</button>
|
2017-08-18 01:23:55 +02:00
|
|
|
<button class="button rounded btn-danger w-200 m-t-10 block input-size"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="realm_icon_delete_button">{{t 'Delete icon' }}</button>
|
2017-08-18 01:23:55 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-01-30 14:58:50 +01:00
|
|
|
|
2018-08-16 01:26:55 +02:00
|
|
|
<h3>{{t "Organization logo" }}</h3>
|
|
|
|
<p>{{t "A wide image, replacing the Zulip logo in the upper left corner of the Zulip apps." }}</p>
|
|
|
|
|
|
|
|
<div class="realm-logo-section">
|
|
|
|
<div class="block realm-logo-block">
|
|
|
|
<img id="realm-settings-logo" src="{{ realm_logo_url }}"/>
|
|
|
|
<input type="file" name="realm_logo_file_input" class="notvisible"
|
|
|
|
id="realm_logo_file_input" value="{{t 'Upload logo' }}"/>
|
|
|
|
</div>
|
|
|
|
<div class="block avatar-controls">
|
|
|
|
<div id="realm_logo_file_input_error" class="alert text-error"></div>
|
|
|
|
<button class="button rounded sea-green w-200 block input-size"
|
|
|
|
id="realm_logo_upload_button">
|
|
|
|
<span id="upload_logo_button_text">{{t 'Upload new logo' }}</span>
|
|
|
|
<span id="upload_logo_spinner"></span>
|
|
|
|
</button>
|
|
|
|
<button class="button rounded btn-danger w-200 m-t-10 block input-size"
|
|
|
|
id="realm_logo_delete_button">{{t 'Delete logo' }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-01-27 08:25:10 +01:00
|
|
|
<h3>{{t "Organization logo for night mode" }}</h3>
|
2019-02-19 00:53:55 +01:00
|
|
|
<p>{{t "Like Organization logo, but for the night theme." }}</p>
|
2019-01-27 08:25:10 +01:00
|
|
|
|
|
|
|
<div class="realm-logo-section realm-night-logo-section">
|
|
|
|
<div class="block realm-logo-block">
|
|
|
|
<img id="realm-settings-night-logo" src="{{ realm_night_logo_url }}">
|
|
|
|
<input type="file" name="realm_night_logo_file_input" class="notvisible"
|
|
|
|
id="realm_night_logo_file_input" value="{{t 'Upload logo' }}"/>
|
|
|
|
</div>
|
|
|
|
<div class="block avatar-controls">
|
|
|
|
<div id="realm_night_logo_file_input_error" class="alert text-error"></div>
|
|
|
|
<button class="button rounded sea-green w-200 block input-size"
|
|
|
|
id="realm_night_logo_upload_button">
|
|
|
|
<span id="upload_night_logo_button_text">{{t 'Upload new logo' }}</span>
|
|
|
|
<span id="upload_night_logo_spinner"></span>
|
|
|
|
</button>
|
|
|
|
<button class="button rounded btn-danger w-200 m-t-10 block input-size"
|
|
|
|
id="realm_night_logo_delete_button">{{t 'Delete logo' }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
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>
|
|
|
|
{{ partial "deactivate-realm-modal"}}
|
|
|
|
</div>
|
2017-08-18 01:23:55 +02:00
|
|
|
</form>
|
|
|
|
</div>
|