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:
Tim Abbott 2020-06-08 23:03:14 -07:00
parent 627666b57c
commit c6d68bcf18
3 changed files with 0 additions and 21 deletions

View File

@ -10,7 +10,6 @@ function add_messages(messages, msg_list, opts) {
} }
loading.destroy_indicator($('#page_loading_indicator')); loading.destroy_indicator($('#page_loading_indicator'));
$('#first_run_message').remove();
const render_info = msg_list.add_messages(messages, opts); const render_info = msg_list.add_messages(messages, opts);

View File

@ -13,8 +13,6 @@ $(function () {
// get_events completes. // get_events completes.
if (!page_params.needs_tutorial) { if (!page_params.needs_tutorial) {
loading.make_indicator($('#page_loading_indicator'), {text: 'Loading...', abs_positioned: true}); 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 // This is an issue fix where in jQuery v3 the result of outerHeight on a node

View File

@ -31,24 +31,6 @@
</div> </div>
<div id="loading_older_messages_indicator"></div> <div id="loading_older_messages_indicator"></div>
<div id="page_loading_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"> <div id="empty_narrow_message" class="empty_feed_notice">
<h4>{{ _("Nothing's been sent here yet!") }}</h4> <h4>{{ _("Nothing's been sent here yet!") }}</h4>