From 73cd6948ded77c5e38600f91175964d3ede2f8d6 Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Wed, 26 Apr 2017 08:17:00 +0530 Subject: [PATCH] Clean realm-filter-settings-admin.handlebars to use 4 space indents. --- .../realm-filter-settings-admin.handlebars | 112 +++++++++--------- tools/check-templates | 1 - 2 files changed, 56 insertions(+), 57 deletions(-) diff --git a/static/templates/settings/realm-filter-settings-admin.handlebars b/static/templates/settings/realm-filter-settings-admin.handlebars index bbda987dca..6552b21536 100644 --- a/static/templates/settings/realm-filter-settings-admin.handlebars +++ b/static/templates/settings/realm-filter-settings-admin.handlebars @@ -1,64 +1,64 @@
-
{{t "Custom linkification filters" }}
-
+
{{t "Custom linkification filters" }}
+
-

- {{#tr this}} - Configure regular expression patterns that will be - automatically linkified when used in Zulip message bodies or - topics. For example to automatically linkify commit IDs and - issue numbers (e.g. #123) to the corresponding items in a GitHub - project, you could use the following: - {{/tr}} -

-
    -
  • - #(?P<id>[0-9]+) - {{t "and" }} - https://github.com/zulip/zulip/issues/%(id)s -
  • -
  • - (?P<id>[0-9a-f]{40}) - {{t "and" }} - https://github.com/zulip/zulip/commit/%(id)s -
  • -
+

+ {{#tr this}} + Configure regular expression patterns that will be + automatically linkified when used in Zulip message bodies or + topics. For example to automatically linkify commit IDs and + issue numbers (e.g. #123) to the corresponding items in a GitHub + project, you could use the following: + {{/tr}} +

+
    +
  • + #(?P<id>[0-9]+) + {{t "and" }} + https://github.com/zulip/zulip/issues/%(id)s +
  • +
  • + (?P<id>[0-9a-f]{40}) + {{t "and" }} + https://github.com/zulip/zulip/commit/%(id)s +
  • +
- - - - - {{#if is_admin}} - - {{/if}} - -
{{t "Pattern" }}{{t "URL format string" }}{{t "Actions" }}
-
- {{#if is_admin}} + + + + + {{#if is_admin}} + + {{/if}} + +
{{t "Pattern" }}{{t "URL format string" }}{{t "Actions" }}
+
+ {{#if is_admin}}
-
-
-
{{t "Add a new filter" }}
-
-
- - -
-
-
- - -
-
-
-
- +
+
+
{{t "Add a new filter" }}
+
+
+ + +
+
+
+ + +
+
+
+
+ +
+
-
-
- {{/if}} + {{/if}}
diff --git a/tools/check-templates b/tools/check-templates index 2e8af4b54c..cc51b9a363 100755 --- a/tools/check-templates +++ b/tools/check-templates @@ -223,7 +223,6 @@ def check_handlebar_templates(templates): 'static/templates/settings/bot-list-admin.handlebars', 'static/templates/settings/default-streams-list-admin.handlebars', 'static/templates/settings/organization-settings-admin.handlebars', - 'static/templates/settings/realm-filter-settings-admin.handlebars', 'static/templates/settings/ui-settings.handlebars', 'static/templates/settings/user-list-admin.handlebars', ]