From fbd0e190d0461f06b793dc0699fa96134f58eebb Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Sat, 27 Jan 2018 23:03:41 +0530 Subject: [PATCH] zerver/navbar.html: Clean up to use 4 space indentation. --- templates/zerver/navbar.html | 322 +++++++++++++++++------------------ tools/check-templates | 1 - 2 files changed, 161 insertions(+), 162 deletions(-) diff --git a/templates/zerver/navbar.html b/templates/zerver/navbar.html index 2f994ccba6..30ff758c7c 100644 --- a/templates/zerver/navbar.html +++ b/templates/zerver/navbar.html @@ -1,172 +1,172 @@
-
- × -
- {% trans %}Zulip needs your permission to - enable desktop notifications. - {% endtrans %} +
+ × +
+ {% trans %}Zulip needs your permission to + enable desktop notifications. + {% endtrans %} +
+
+ {{ _('We strongly recommend enabling desktop notifications. They help Zulip keep your team connected.') }} + + {{ _('Enable notifications') }} + • + {{ _('Ask me later') }} + • + {{ _('Never ask on this computer') }} + +
-
- {{ _('We strongly recommend enabling desktop notifications. They help Zulip keep your team connected.') }} - - {{ _('Enable notifications') }} - • - {{ _('Ask me later') }} - • - {{ _('Never ask on this computer') }} - -
-
- +
diff --git a/tools/check-templates b/tools/check-templates index 855c521dab..f9cce5a6ce 100755 --- a/tools/check-templates +++ b/tools/check-templates @@ -108,7 +108,6 @@ def check_html_templates(templates, all_dups): IGNORE_FILES = [ # Temporarily Avoiding cleaning these to avoid merge conflicts for now. 'templates/zerver/keyboard_shortcuts.html', - 'templates/zerver/navbar.html', # zephyr-mirror.html has some whitespace-dependent formatting # for code blocks that prevent cleaning it. Might make sense # to convert it to a /help/ markdown article.