alerts: Fix "Try Now" retry get_events button.

This has apparently been broken since we renamed get_updates to
get_events.
This commit is contained in:
Tim Abbott 2017-04-03 16:18:59 -07:00
parent 34f9ccb87c
commit 943a3b1cff
2 changed files with 3 additions and 3 deletions

View File

@ -51,11 +51,11 @@
opacity: 0.7; opacity: 0.7;
} }
.alert-box .alert .restart_get_updates_button { .alert-box .alert .restart_get_events_button {
color: #89dcff; color: #89dcff;
} }
.alert-box .alert .restart_get_updates_button:hover { .alert-box .alert .restart_get_events_button:hover {
color: #89dcff; color: #89dcff;
} }

View File

@ -78,7 +78,7 @@ var page_params = {{ page_params }};
<div class="alert alert_sidebar alert-error home-error-bar" id="connection-error"> <div class="alert alert_sidebar alert-error home-error-bar" id="connection-error">
<div class="exit"></div> <div class="exit"></div>
{% trans %}<strong class="message">Unable to connect to Zulip.</strong> Updates may be delayed.{% endtrans %} {% trans %}<strong class="message">Unable to connect to Zulip.</strong> Updates may be delayed.{% endtrans %}
<div class="faded">{{ _('Retrying soon...') }} <a class="restart_get_updates_button">{{ _('Try now.') }}</a></div> <div class="faded">{{ _('Retrying soon...') }} <a class="restart_get_events_button">{{ _('Try now.') }}</a></div>
</div> </div>
<div class="alert alert_sidebar alert-error home-error-bar" id="get_old_messages_error"> <div class="alert alert_sidebar alert-error home-error-bar" id="get_old_messages_error">
<div class="exit"></div> <div class="exit"></div>