2019-05-30 01:40:49 +02:00
|
|
|
<div id="settings_page" class="new-style overlay-content modal-bg">
|
2017-05-05 20:38:15 +02:00
|
|
|
<div class="settings-header mobile">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="fa fa-chevron-left" aria-hidden="true"></i>
|
2017-05-09 22:09:13 +02:00
|
|
|
<h1>{{ _('Settings') }}<span class="section"></span></h1>
|
2017-05-05 20:38:15 +02:00
|
|
|
<div class="exit">
|
|
|
|
<span class="exit-sign">×</span>
|
|
|
|
</div>
|
|
|
|
<div class="clear-float"></div>
|
|
|
|
</div>
|
2019-05-17 23:11:33 +02:00
|
|
|
<div class="sidebar left" data-simplebar>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="sidebar-list dark-grey small-text">
|
|
|
|
<div class="center tab-container"></div>
|
2018-06-03 13:04:28 +02:00
|
|
|
<ul class="normal-settings-list">
|
2018-06-27 15:16:25 +02:00
|
|
|
<li tabindex="0" data-section="your-account">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-user" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Your account') }}</div>
|
|
|
|
</li>
|
2017-06-20 15:30:15 +02:00
|
|
|
<li tabindex="0" data-section="display-settings">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-clock-o" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Display settings') }}</div>
|
|
|
|
</li>
|
2017-06-20 15:30:15 +02:00
|
|
|
<li tabindex="0" data-section="notifications">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-exclamation-triangle" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Notifications') }}</div>
|
|
|
|
</li>
|
2018-10-31 18:33:11 +01:00
|
|
|
{% if not is_guest %}
|
2017-06-20 15:30:15 +02:00
|
|
|
<li tabindex="0" data-section="your-bots">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-github" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Your bots') }}</div>
|
|
|
|
</li>
|
2018-10-31 18:33:11 +01:00
|
|
|
{% endif %}
|
2017-06-20 15:30:15 +02:00
|
|
|
<li tabindex="0" data-section="alert-words">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-book" aria-hidden="true"></i>
|
2017-03-15 02:06:22 +01:00
|
|
|
<div class="text">{{ _('Alert words') }}</div>
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2020-05-08 06:57:19 +02:00
|
|
|
{% if max_file_upload_size_mib > 0 %}
|
2017-06-20 15:30:15 +02:00
|
|
|
<li tabindex="0" data-section="uploaded-files">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-paperclip" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Uploaded files') }}</div>
|
|
|
|
</li>
|
2019-05-04 20:24:36 +02:00
|
|
|
{% endif %}
|
2017-06-20 15:30:15 +02:00
|
|
|
<li tabindex="0" data-section="muted-topics">
|
2020-03-07 04:01:25 +01:00
|
|
|
<i class="icon fa fa-bell-slash" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Muted topics') }}</div>
|
|
|
|
</li>
|
2018-06-03 13:04:28 +02:00
|
|
|
</ul>
|
2016-12-03 01:12:52 +01:00
|
|
|
|
2018-06-03 13:04:28 +02:00
|
|
|
<ul class="org-settings-list">
|
|
|
|
<li tabindex="0" data-section="organization-profile">
|
2019-01-17 19:29:49 +01:00
|
|
|
<i class="icon fa fa-address-card" aria-hidden="true"></i>
|
2017-08-18 01:23:55 +02:00
|
|
|
<div class="text">{{ _('Organization profile') }}</div>
|
2018-12-04 15:24:25 +01:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-08-18 01:23:55 +02:00
|
|
|
</li>
|
2019-05-13 00:43:21 +02:00
|
|
|
<li class="collapse-org-settings {% if not is_admin %}hide-org-settings{% endif %}" tabindex="0" data-section="organization-settings">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-flask" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Organization settings') }}</div>
|
2018-12-04 15:24:25 +01:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2019-05-13 00:43:21 +02:00
|
|
|
<li class="collapse-org-settings {% if not is_admin %}hide-org-settings{% endif %}" tabindex="0" data-section="organization-permissions">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-lock" aria-hidden="true"></i>
|
2017-05-18 14:06:57 +02:00
|
|
|
<div class="text">{{ _('Organization permissions') }}</div>
|
2018-12-04 15:24:25 +01:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-05-18 14:06:57 +02:00
|
|
|
</li>
|
2018-06-03 13:04:28 +02:00
|
|
|
<li tabindex="0" data-section="emoji-settings">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-smile-o" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Custom emoji') }}</div>
|
2018-12-06 02:39:00 +01:00
|
|
|
{% if is_guest %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Guest users cannot edit custom emoji.') }}"></i>
|
|
|
|
{% else %}
|
2019-09-14 02:28:05 +02:00
|
|
|
{% if not is_admin and user_profile and user_profile.realm.add_emoji_by_admins_only %}
|
2018-12-06 02:39:00 +01:00
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2018-12-04 15:24:25 +01:00
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2019-05-13 00:34:50 +02:00
|
|
|
{% if not is_guest %}
|
2018-06-03 13:04:28 +02:00
|
|
|
<li tabindex="0" data-section="user-groups-admin">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-group" aria-hidden="true"></i>
|
2017-11-13 05:20:42 +01:00
|
|
|
<div class="text">{{ _('User groups') }}</div>
|
|
|
|
</li>
|
2019-05-13 00:34:50 +02:00
|
|
|
{% endif %}
|
2019-05-13 00:43:21 +02:00
|
|
|
<li class="collapse-org-settings {% if not is_admin %}hide-org-settings{% endif %}" tabindex="0" data-section="auth-methods">
|
2019-01-17 19:29:49 +01:00
|
|
|
<i class="icon fa fa-key" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Authentication methods') }}</div>
|
2018-12-04 15:24:25 +01:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2019-05-13 00:34:50 +02:00
|
|
|
{% if not is_guest %}
|
2018-06-03 13:04:28 +02:00
|
|
|
<li tabindex="0" data-section="user-list-admin">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-user" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Users') }}</div>
|
2018-12-04 15:24:25 +01:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2019-05-13 00:34:50 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if not is_guest %}
|
2018-06-03 13:04:28 +02:00
|
|
|
<li tabindex="0" data-section="deactivated-users-admin">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-trash-o" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Deactivated users') }}</div>
|
2019-05-10 06:34:52 +02:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2017-04-14 21:48:50 +02:00
|
|
|
{% endif %}
|
2019-05-13 00:34:50 +02:00
|
|
|
{% if not is_guest %}
|
2018-06-03 13:04:28 +02:00
|
|
|
<li tabindex="0" data-section="bot-list-admin">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-github" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Bots') }}</div>
|
2018-12-04 15:24:25 +01:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2019-05-13 00:34:50 +02:00
|
|
|
{% endif %}
|
2019-03-01 01:26:57 +01:00
|
|
|
{% if not is_guest %}
|
2019-05-13 00:43:21 +02:00
|
|
|
<li class="collapse-org-settings {% if not is_admin %}hide-org-settings{% endif %}" tabindex="0" data-section="default-streams-list">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-exchange" aria-hidden="true"></i>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="text">{{ _('Default streams') }}</div>
|
2018-12-04 15:24:25 +01:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2019-03-01 01:26:57 +01:00
|
|
|
{% endif %}
|
2018-06-03 13:04:28 +02:00
|
|
|
<li tabindex="0" data-section="filter-settings">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-font" aria-hidden="true"></i>
|
2018-10-01 19:20:28 +02:00
|
|
|
<div class="text">{{ _('Linkifiers') }}</div>
|
2018-12-04 15:24:25 +01:00
|
|
|
{% if not is_admin %}
|
|
|
|
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</li>
|
2019-05-13 00:34:50 +02:00
|
|
|
{% if is_admin %}
|
2018-06-03 13:04:28 +02:00
|
|
|
<li tabindex="0" data-section="profile-field-settings">
|
2018-07-02 02:32:30 +02:00
|
|
|
<i class="icon fa fa-user" aria-hidden="true"></i>
|
2017-12-14 05:51:45 +01:00
|
|
|
<div class="text">{{ _('Custom profile fields') }}</div>
|
|
|
|
</li>
|
2019-05-13 00:34:50 +02:00
|
|
|
{% endif %}
|
2020-04-30 21:41:21 +02:00
|
|
|
{% if not guest %}
|
2018-06-03 13:04:28 +02:00
|
|
|
<li tabindex="0" data-section="invites-list-admin">
|
2020-04-29 20:43:55 +02:00
|
|
|
<i class="icon fa fa-user-plus" aria-hidden="true"></i>
|
2017-10-21 03:15:12 +02:00
|
|
|
<div class="text">{{ _('Invitations') }}</div>
|
|
|
|
</li>
|
2020-04-30 21:41:21 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if is_admin %}
|
2019-04-09 21:49:07 +02:00
|
|
|
<li tabindex="0" data-section="data-exports-admin">
|
|
|
|
<i class="icon fa fa-database" aria-hidden="true"></i>
|
|
|
|
<div class="text">{{ _('Data exports') }}</div>
|
|
|
|
</li>
|
2017-10-21 03:15:12 +02:00
|
|
|
{% endif %}
|
2019-05-13 00:43:21 +02:00
|
|
|
{% if not is_admin %}
|
|
|
|
<div class="collapse-settings-btn">
|
|
|
|
<i id='toggle_collapse_chevron' class='fa fa-angle-double-down'></i>
|
|
|
|
<p id='toggle_collapse'>{{ _('Show more') }}</p>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2017-02-24 16:42:13 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
2016-12-03 01:12:52 +01:00
|
|
|
</div>
|
2017-05-05 20:38:15 +02:00
|
|
|
<div class="content-wrapper right">
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="settings-header">
|
2017-05-09 22:09:13 +02:00
|
|
|
<h1>{{ _('Settings') }}<span class="section"></span></h1>
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="exit">
|
|
|
|
<span class="exit-sign">×</span>
|
|
|
|
</div>
|
2016-12-03 01:12:52 +01:00
|
|
|
</div>
|
2019-05-17 23:15:11 +02:00
|
|
|
<div id="settings_content" data-simplebar data-simplebar-auto-hide="false">
|
2017-04-07 21:39:58 +02:00
|
|
|
<div class="organization-box organization">
|
2017-02-24 16:42:13 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="settings-box">
|
|
|
|
</div>
|
2016-12-03 01:12:52 +01:00
|
|
|
</div>
|
2020-03-10 11:08:00 +01:00
|
|
|
<div id="edit_bot_modal" class="modal modal-bg hide fade" tabindex="-1" role="dialog"
|
|
|
|
aria-labelledby="edit_bot_modal_label" aria-hidden="true">
|
|
|
|
</div>
|
2016-12-03 01:12:52 +01:00
|
|
|
</div>
|
|
|
|
</div>
|