Clean confirm.html to use 4 space and consistent indentation.

This commit is contained in:
Aditya Bansal 2017-06-02 02:58:37 +05:30 committed by Tim Abbott
parent 60b62ac81d
commit c579a0515b
2 changed files with 19 additions and 22 deletions

View File

@ -4,27 +4,28 @@
<div class="pitch">
<hr/>
{% if confirmed %}
<p>You're confirmed. We're not exactly sure what we confirmed you for, but whatever it is you're totally good.</p>
{% else %}
<p class="lead">Whoops, something's not right. We couldn't find your confirmation ID!</p>
{% if verbose_support_offers %}
<p>Make sure you copied the link correctly in to your browser. If you're
still encountering this page, its probably our fault. We're sorry.</p>
<p>Anyway, shoot us a line at <a
href="mailto:{{ support_email }}">{{ support_email }}</a> and we'll get
this resolved shortly.</p>
{% if confirmed %}
<p>You're confirmed. We're not exactly sure what we confirmed you for, but whatever it is you're totally good.</p>
{% else %}
<p>Make sure you copied the link correctly in to your browser.</p>
<p>If you're still having problems, please contact your Zulip administrator at <a
href="mailto:{{ support_email }}">{{ support_email }}</a>.</p>
<p class="lead">Whoops, something's not right. We couldn't find your confirmation ID!</p>
{% if verbose_support_offers %}
<p>Make sure you copied the link correctly in to your browser. If you're
still encountering this page, its probably our fault. We're sorry.</p>
<p>Anyway, shoot us a line at <a
href="mailto:{{ support_email }}">{{ support_email }}</a> and we'll get
this resolved shortly.
</p>
{% else %}
<p>Make sure you copied the link correctly in to your browser.</p>
<p>If you're still having problems, please contact your Zulip administrator at <a
href="mailto:{{ support_email }}">{{ support_email }}</a>.</p>
{% endif %}
{% endif %}
{% endif %}
</div>
{% endblock %}

View File

@ -98,8 +98,6 @@ def check_html_templates(templates, all_dups):
# localization. See github #1236.
bad_files = [
'static/html/5xx.html',
'templates/500.html',
'templates/confirmation/confirm.html',
'templates/corporate/mit.html',
'templates/corporate/zephyr-mirror.html',
'templates/corporate/zephyr.html',
@ -146,12 +144,10 @@ def check_html_templates(templates, all_dups):
'puppet/zulip_ops/files/sparkle/win/sparkle-changelog.html',
'static/html/404.html',
'static/html/5xx.html',
'templates/500.html',
'templates/analytics/activity.html',
'templates/analytics/ad_hoc_query.html',
'templates/analytics/realm_summary_table.html',
'templates/analytics/stats.html',
'templates/confirmation/confirm.html',
'templates/confirmation/confirm_email_change.html',
'templates/zerver/emails/confirm_new_email.html',
'templates/zerver/emails/invitation.html',