mirror of https://github.com/zulip/zulip.git
loading: Remove first_run_message.
I don't believe it's actually been possible for this to be shown in Zulip in several years; and we just made it more obviously so (resulting in a linter error).
This commit is contained in:
parent
627666b57c
commit
c6d68bcf18
|
@ -10,7 +10,6 @@ function add_messages(messages, msg_list, opts) {
|
|||
}
|
||||
|
||||
loading.destroy_indicator($('#page_loading_indicator'));
|
||||
$('#first_run_message').remove();
|
||||
|
||||
const render_info = msg_list.add_messages(messages, opts);
|
||||
|
||||
|
|
|
@ -13,8 +13,6 @@ $(function () {
|
|||
// get_events completes.
|
||||
if (!page_params.needs_tutorial) {
|
||||
loading.make_indicator($('#page_loading_indicator'), {text: 'Loading...', abs_positioned: true});
|
||||
} else if (!page_params.needs_tutorial) {
|
||||
$('#first_run_message').show();
|
||||
}
|
||||
|
||||
// This is an issue fix where in jQuery v3 the result of outerHeight on a node
|
||||
|
|
|
@ -31,24 +31,6 @@
|
|||
</div>
|
||||
<div id="loading_older_messages_indicator"></div>
|
||||
<div id="page_loading_indicator"></div>
|
||||
<div id="first_run_message" class="empty_feed_notice">
|
||||
<h4>{% trans %}Welcome to Zulip.{% endtrans %}</h4>
|
||||
<p>
|
||||
{% trans %}
|
||||
See, the thing about it is... there aren't any messages
|
||||
here for you right now. I'm sure someone will eventually send
|
||||
you one.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% trans %}
|
||||
Or, <strong>take matters into your own hands</strong>,
|
||||
and <a href="#" class="empty_feed_compose_stream">
|
||||
compose a new stream message</a>.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
<div id="empty_narrow_message" class="empty_feed_notice">
|
||||
<h4>{{ _("Nothing's been sent here yet!") }}</h4>
|
||||
|
||||
|
|
Loading…
Reference in New Issue