Clean attachment-item.handlebars to use 4 space indents.

This commit is contained in:
Aditya Bansal 2017-04-15 08:43:32 +05:30 committed by Tim Abbott
parent e5d57c31b8
commit 4c1b89a2ef
2 changed files with 10 additions and 11 deletions

View File

@ -4,9 +4,9 @@
<div class="file-icon">
<div class="extension {{#if attachment.large_ext_name }}small{{/if}} {{#unless attachment.extension }}no-extension{{/unless}}">
{{#if attachment.extension}}
{{ attachment.extension }}
{{ attachment.extension }}
{{else}}
<i class="icon icon-vector-file"></i>
<i class="icon icon-vector-file"></i>
{{/if}}
</div>
</div>
@ -21,16 +21,16 @@
<i class="icon-vector-trash"></i>
</button>
</div>
{{#if attachment.messages }}
{{#if attachment.messages }}
<div class="attachment-messages">
{{#each attachment.messages}}
<a class="ind-message" href="/#narrow/id/{{ this.id }}">
<div class="message-id">#{{ this.id }}</div>
<div class="message-date">{{ this.name }}</div>
</a>
{{/each}}
{{#each attachment.messages}}
<a class="ind-message" href="/#narrow/id/{{ this.id }}">
<div class="message-id">#{{ this.id }}</div>
<div class="message-date">{{ this.name }}</div>
</a>
{{/each}}
</div>
{{/if}}
{{/if}}
</div>
</div>
</li>

View File

@ -227,7 +227,6 @@ def check_handlebar_templates(templates):
'static/templates/subscription_settings.handlebars',
'static/templates/user_sidebar_actions.handlebars',
'static/templates/settings/account-settings.handlebars',
'static/templates/settings/attachment-item.handlebars',
'static/templates/settings/auth-methods-settings-admin.handlebars',
'static/templates/settings/bot-list-admin.handlebars',
'static/templates/settings/bot-settings.handlebars',