Clean draft.handlebars to use 4 space indents.

This commit is contained in:
Aditya Bansal 2017-04-15 08:03:36 +05:30 committed by Tim Abbott
parent face3562af
commit 0494944f3f
2 changed files with 36 additions and 37 deletions

View File

@ -1,42 +1,42 @@
<div class="draft-row" data-draft-id="{{draft_id}}">
<div class="draft-info-box" tabindex="0">
{{#if is_stream}}
<div class="message_header message_header_stream">
<div class="message-header-contents">
<div class="message_label_clickable stream_label"
style="background: {{stream_color}}; border-left-color: {{stream_color}};">
{{stream}}
</div>
<div class="draft-info-box" tabindex="0">
{{#if is_stream}}
<div class="message_header message_header_stream">
<div class="message-header-contents">
<div class="message_label_clickable stream_label"
style="background: {{stream_color}}; border-left-color: {{stream_color}};">
{{stream}}
</div>
<span class="stream_topic">
<div class="message_label_clickable narrows_by_subject">
{{topic}}
</div>
</span>
</div>
</div>
{{else}}
<div class="message_header message_header_private_message dark_background">
<div class="message-header-contents">
<div class="message_label_clickable stream_label">
{{#tr this}}You and __recipients__{{/tr}}
</div>
</div>
</div>
{{/if}}
<div class="message_row{{^is_stream}} private-message{{/is_stream}}">
<div class="messagebox"
style="box-shadow: inset 2px 0px 0px 0px {{#if is_stream}}{{stream_color}}{{else}}#444444{{/if}}, -1px 0px 0px 0px {{#if is_stream}}{{stream_color}}{{else}}#444444{{/if}};">
<div class="messagebox-content">
<div class="message_top_line">
<div class="draft_controls">
<i class="icon-vector-large icon-vector-pencil restore-draft" data-toggle="tooltip" title="{{t 'Restore draft' }}"></i>
<i class="icon-vector-large icon-vector-trash delete-draft" data-toggle="tooltip" title="{{t 'Delete draft' }}"></i>
<span class="stream_topic">
<div class="message_label_clickable narrows_by_subject">
{{topic}}
</div>
</span>
</div>
</div>
{{else}}
<div class="message_header message_header_private_message dark_background">
<div class="message-header-contents">
<div class="message_label_clickable stream_label">
{{#tr this}}You and __recipients__{{/tr}}
</div>
</div>
</div>
{{/if}}
<div class="message_row{{^is_stream}} private-message{{/is_stream}}">
<div class="messagebox"
style="box-shadow: inset 2px 0px 0px 0px {{#if is_stream}}{{stream_color}}{{else}}#444444{{/if}}, -1px 0px 0px 0px {{#if is_stream}}{{stream_color}}{{else}}#444444{{/if}};">
<div class="messagebox-content">
<div class="message_top_line">
<div class="draft_controls">
<i class="icon-vector-large icon-vector-pencil restore-draft" data-toggle="tooltip" title="{{t 'Restore draft' }}"></i>
<i class="icon-vector-large icon-vector-trash delete-draft" data-toggle="tooltip" title="{{t 'Delete draft' }}"></i>
</div>
</div>
<div class="message_content restore-draft" data-toggle="tooltip" title="{{t 'Restore draft' }}">{{{content}}}</div>
</div>
</div>
</div>
<div class="message_content restore-draft" data-toggle="tooltip" title="{{t 'Restore draft' }}">{{{content}}}</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -218,7 +218,6 @@ def check_handlebar_templates(templates):
'static/templates/actions_popover_content.handlebars',
'static/templates/admin_user_list.handlebars',
'static/templates/bot_avatar_row.handlebars',
'static/templates/draft.handlebars',
'static/templates/message_edit_history.handlebars',
'static/templates/recipient_row.handlebars',
'static/templates/single_message.handlebars',