From 83da92c31658020803d60745c785c1ca17ebd7ae Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Sat, 15 Apr 2017 08:04:44 +0530 Subject: [PATCH] Clean recipient_row.handlebars to use 4 space indents. --- static/templates/recipient_row.handlebars | 118 +++++++++++----------- tools/check-templates | 1 - 2 files changed, 59 insertions(+), 60 deletions(-) diff --git a/static/templates/recipient_row.handlebars b/static/templates/recipient_row.handlebars index ffa372dde0..bff1caf65e 100644 --- a/static/templates/recipient_row.handlebars +++ b/static/templates/recipient_row.handlebars @@ -1,73 +1,73 @@ {{#if is_stream}} -
+
-
- {{! stream link }} - - {{! invite only lock }} - {{#if invite_only}} - - {{/if}} - {{display_recipient}} - +
+ {{! stream link }} + + {{! invite only lock }} + {{#if invite_only}} + + {{/if}} + {{display_recipient}} + - {{! hidden narrow icon for copy-pasting }} - > + {{! hidden narrow icon for copy-pasting }} + > - {{! topic stuff }} - - {{! topic link }} - - {{#if use_match_properties}} - {{{match_subject}}} - {{else}} - {{subject}} - {{/if}} - + {{! topic stuff }} + + {{! topic link }} + + {{#if use_match_properties}} + {{{match_subject}}} + {{else}} + {{subject}} + {{/if}} + - {{! edit subject pencil icon }} - {{#if always_visible_topic_edit}} - - {{else}} - {{#if on_hover_topic_edit}} - - {{/if}} - {{/if}} + {{! edit subject pencil icon }} + {{#if always_visible_topic_edit}} + + {{else}} + {{#if on_hover_topic_edit}} + + {{/if}} + {{/if}} - {{! exterior links (e.g. to a trac ticket) }} - {{#each subject_links}} - - - - {{/each}} - + {{! exterior links (e.g. to a trac ticket) }} + {{#each subject_links}} + + + + {{/each}} + - - - + + + - - {{{date}}} -
+ + {{{date}}} +
-
+
{{else}} -
+ +
{{/if}} diff --git a/tools/check-templates b/tools/check-templates index c8e8adddc6..f78806635d 100755 --- a/tools/check-templates +++ b/tools/check-templates @@ -219,7 +219,6 @@ def check_handlebar_templates(templates): 'static/templates/admin_user_list.handlebars', 'static/templates/bot_avatar_row.handlebars', 'static/templates/message_edit_history.handlebars', - 'static/templates/recipient_row.handlebars', 'static/templates/single_message.handlebars', 'static/templates/stream_privacy.handlebars', 'static/templates/stream_sidebar_row.handlebars',