home.html: Cleanup to use 4 space indentation.

Tweaked by tabbott to also make the translation tags make more sense.
This commit is contained in:
Aditya Bansal 2017-10-21 01:38:00 +05:30 committed by Tim Abbott
parent a03f322028
commit 3fb0f7c092
3 changed files with 108 additions and 90 deletions

View File

@ -12,55 +12,71 @@
<div id="page_loading_indicator"></div> <div id="page_loading_indicator"></div>
<div id="first_run_message" class="empty_feed_notice"> <div id="first_run_message" class="empty_feed_notice">
<h4>{% trans %}Welcome to Zulip.{% endtrans %}</h4> <h4>{% trans %}Welcome to Zulip.{% endtrans %}</h4>
<p>
{% trans %} {% trans %}
<p>See, the thing about it is... there aren't any messages See, the thing about it is... there aren't any messages
here for you right now. I'm sure someone will eventually send here for you right now. I'm sure someone will eventually send
you one.</p> you one.
<p>Or, <strong>take matters into your own hands</strong>,
and <a href="#" class="empty_feed_compose_stream">
compose a new stream message</a>.</p>
{% endtrans %} {% 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>
<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>
<p>
{% trans %} {% trans %}
<p>Why not <a href="#" class="empty_feed_compose_stream"> Why not <a href="#" class="empty_feed_compose_stream">
start the conversation</a>?</p> start the conversation</a>?
{% endtrans %} {% endtrans %}
</p>
</div> </div>
<div id="empty_narrow_all_private_message" class="empty_feed_notice"> <div id="empty_narrow_all_private_message" class="empty_feed_notice">
<h4>{{ _('You have no private messages yet!') }}</h4> <h4>{{ _('You have no private messages yet!') }}</h4>
<p>
{% trans %} {% trans %}
<p>Why not <a href="#" class="empty_feed_compose_private"> Why not <a href="#" class="empty_feed_compose_private">
start the conversation</a>?</p> start the conversation</a>?
{% endtrans %} {% endtrans %}
</p>
</div> </div>
<div id="empty_narrow_private_message" class="empty_feed_notice"> <div id="empty_narrow_private_message" class="empty_feed_notice">
<h4>{{ _('You have no private messages with this person yet!') }}</h4> <h4>{{ _('You have no private messages with this person yet!') }}</h4>
<p>
{% trans %} {% trans %}
<p>Why not <a href="#" class="empty_feed_compose_private"> Why not <a href="#" class="empty_feed_compose_private">
start the conversation</a>?</p> start the conversation</a>?
{% endtrans %} {% endtrans %}
</p>
</div> </div>
<div id="empty_narrow_group_private_message" class="empty_feed_notice"> <div id="empty_narrow_group_private_message" class="empty_feed_notice">
<h4>{{ _('You have no group private messages with this person yet!') }}</h4> <h4>{{ _('You have no group private messages with this person yet!') }}</h4>
<p>
{% trans %} {% trans %}
<p>Why not <a href="#" class="empty_feed_compose_private"> Why not <a href="#" class="empty_feed_compose_private">
start the conversation</a>?</p> start the conversation</a>?
{% endtrans %} {% endtrans %}
</p>
</div> </div>
<div id="empty_narrow_multi_private_message" class="empty_feed_notice"> <div id="empty_narrow_multi_private_message" class="empty_feed_notice">
<h4>{{ _('You have no private messages with these people yet!') }}</h4> <h4>{{ _('You have no private messages with these people yet!') }}</h4>
<p>
{% trans %} {% trans %}
<p>Why not <a href="#" class="empty_feed_compose_private"> Why not <a href="#" class="empty_feed_compose_private">
start the conversation</a>?</p> start the conversation</a>?
{% endtrans %} {% endtrans %}
</p>
</div> </div>
<div id="silent_user" class="empty_feed_notice"> <div id="silent_user" class="empty_feed_notice">
<h4>{{ _("You haven't received any messages sent by this user yet!") }}</h4> <h4>{{ _("You haven't received any messages sent by this user yet!") }}</h4>
@ -82,10 +98,12 @@
<div id="empty_star_narrow_message" class="empty_feed_notice"> <div id="empty_star_narrow_message" class="empty_feed_notice">
<h4>{{ _("You haven't starred anything yet!") }}</h4> <h4>{{ _("You haven't starred anything yet!") }}</h4>
<p>
{% trans %} {% trans %}
<p>Learn more about starring messages at <a href="/help/star-a-message"> Learn more about starring messages at <a href="/help/star-a-message">
{{ realm_uri }}/help/star-a-message</a>.</p> {{ realm_uri }}/help/star-a-message</a>.
{% endtrans %} {% endtrans %}
</p>
</div> </div>
<div id="no_unread_narrow_message" class="empty_feed_notice"> <div id="no_unread_narrow_message" class="empty_feed_notice">
<h4>{{ _("You have no unread messages!") }}</h4> <h4>{{ _("You have no unread messages!") }}</h4>
@ -93,10 +111,12 @@
<div id="empty_narrow_all_mentioned" class="empty_feed_notice"> <div id="empty_narrow_all_mentioned" class="empty_feed_notice">
<h4>{{ _("You haven't been mentioned yet!") }}</h4> <h4>{{ _("You haven't been mentioned yet!") }}</h4>
<p>
{% trans %} {% trans %}
<p>Learn more about mentions at <a href="/help/at-mention-a-team-member"> Learn more about mentions at <a href="/help/at-mention-a-team-member">
{{ realm_uri }}/help/at-mention-a-team-member</a>.</p> {{ realm_uri }}/help/at-mention-a-team-member</a>.
{% endtrans %} {% endtrans %}
</p>
</div> </div>
<div id="empty_search_narrow_message" class="empty_feed_notice"> <div id="empty_search_narrow_message" class="empty_feed_notice">
<h4>{{ _('Nobody has talked about that yet!') }}</h4> <h4>{{ _('Nobody has talked about that yet!') }}</h4>

View File

@ -101,7 +101,6 @@ def check_html_templates(templates, all_dups):
'templates/zerver/api_endpoints.html', 'templates/zerver/api_endpoints.html',
# These just need to be reindented # These just need to be reindented
'templates/zerver/features.html', 'templates/zerver/features.html',
'templates/zerver/home.html',
'templates/zerver/login.html', 'templates/zerver/login.html',
# Can't clean this because of `preserve_spaces` # Can't clean this because of `preserve_spaces`
'templates/zerver/markdown_help.html', 'templates/zerver/markdown_help.html',
@ -117,7 +116,6 @@ def check_html_templates(templates, all_dups):
'templates/zerver/api.html', 'templates/zerver/api.html',
'templates/zerver/compose.html', 'templates/zerver/compose.html',
'templates/zerver/hello.html', 'templates/zerver/hello.html',
'templates/zerver/home.html',
'templates/zerver/index.html', 'templates/zerver/index.html',
'templates/zerver/keyboard_shortcuts.html', 'templates/zerver/keyboard_shortcuts.html',
'templates/zerver/login.html', 'templates/zerver/login.html',