mirror of https://github.com/zulip/zulip.git
69 lines
4.1 KiB
HTML
69 lines
4.1 KiB
HTML
<div class="right-sidebar" id="right-sidebar">
|
|
<div class="alert alert_sidebar alert-error home-error-bar" id="connection-error">
|
|
<strong>Unable to connect to {{product_name}}.</strong> Updates may be delayed.
|
|
<br /><br /> Retrying soon... <br /><br /> <a class="restart_get_updates_button">Try now</a>.
|
|
</div>
|
|
<div class="alert alert_sidebar alert-error home-error-bar" id="get_old_messages_error">
|
|
<strong>Unable to connect to {{product_name}}.</strong> Could not fetch messages.
|
|
<br /><br /> Retrying soon... <br /><br />
|
|
</div>
|
|
<div class="alert alert_sidebar alert-error home-error-bar" id="zephyr-mirror-error">
|
|
<strong>Your Zephyr mirror is not working.</strong>
|
|
<span id="normal-zephyr-mirror-error-text">We
|
|
recommend that you <a class="webathena_login">give
|
|
{{product_name}} the ability to mirror the messages for you via
|
|
WebAthena</a>. If you'd prefer, you can instead
|
|
<a href="/zephyr-mirror" target="_blank">run the Zephyr mirror script yourself</a>
|
|
in a screen session.</span>
|
|
<span id="desktop-zephyr-mirror-error-text" class="notdisplayed">To fix
|
|
this, you'll need
|
|
to use <a href="https://zephyr.zulip.com">the web interface</a></span>
|
|
</div>
|
|
<div class="alert alert_sidebar alert-error home-error-bar" id="home-error"></div>
|
|
{% if send_to_prod %}
|
|
<div id="staging-warning"class="alert alert_sidebar alert-error">
|
|
<p>This realm uses production. Please login into
|
|
<a href="https://zulip.com/">zulip.com</a>
|
|
to be part of the conversation.</p>
|
|
</div>
|
|
<script>
|
|
$(function () {
|
|
if (window.bridge !== undefined) {
|
|
// Desktop app only supports "prompt", not "alert" or "confirm" :/
|
|
window.prompt("You're currently on the staging {{product_name}} server, but everyone else is on the production server.\n\nGoing forward, please run {{product_name}} with the following flag to use the staging server:", "--site https://zulip.com");
|
|
window.location.assign("https://zulip.com");
|
|
} else {
|
|
var res = window.confirm("You're currently on the staging {{product_name}} server, but everyone else is on the product_name server. Please use https://zulip.com to use {{product_name}}.");
|
|
if (feature_flags.is_og_zulip_user && !res) { return; }
|
|
window.location.assign("https://zulip.com");
|
|
}
|
|
});
|
|
</script>
|
|
{% endif %}
|
|
<div class="alert alert_sidebar alert-error home-error-bar" id="reloading-application"></div>
|
|
{% if enable_feedback %}
|
|
<div id="feedback_section">
|
|
<button type="button" class="btn btn-default btn-large" id="feedback_button">
|
|
<i class="icon-vector-comment"></i> Send feedback
|
|
</button>
|
|
</div>
|
|
{% endif %}
|
|
<div id="user-list">
|
|
<div id="userlist-header">
|
|
<h4 class='sidebar-title' id='userlist-title'>USERS</h4>
|
|
</div>
|
|
<input class="user-list-filter" type="text" placeholder="Search people" />
|
|
<ul id="user_presences" class="filters scrolling_list"></ul>
|
|
{% if show_invites %}
|
|
<a id="invite-user-link" href="#invite-user" data-toggle="modal"><i class="icon-vector-plus-sign"></i>Invite coworkers</a>
|
|
{% endif %}
|
|
</div>
|
|
<div id="group-pm-list">
|
|
<div id="group-pm-header">
|
|
<h4 class='sidebar-title' id='group-pm-title'>GROUP PMs</h4>
|
|
</div>
|
|
<ul id="group-pms" class="filters scrolling_list">
|
|
</ul>
|
|
</div>
|
|
</div>
|