mirror of https://github.com/zulip/zulip.git
Clean attachment-item.handlebars to use 4 space indents.
This commit is contained in:
parent
e5d57c31b8
commit
4c1b89a2ef
|
@ -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>
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue