2016-12-28 14:46:42 +01:00
|
|
|
|
|
|
|
<li class="attachment-item" data-attachment='{{attachment.id}}'>
|
|
|
|
<div class="attachment-information-box list-container">
|
2017-02-24 02:31:37 +01:00
|
|
|
<div class="file-icon">
|
2017-02-28 14:55:47 +01:00
|
|
|
<div class="extension {{#if attachment.large_ext_name }}small{{/if}} {{#unless attachment.extension }}no-extension{{/unless}}">
|
|
|
|
{{#if attachment.extension}}
|
2017-04-15 05:13:32 +02:00
|
|
|
{{ attachment.extension }}
|
2017-02-28 14:55:47 +01:00
|
|
|
{{else}}
|
2017-04-15 05:13:32 +02:00
|
|
|
<i class="icon icon-vector-file"></i>
|
2017-02-28 14:55:47 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2016-12-28 14:46:42 +01:00
|
|
|
</div>
|
2017-02-24 02:31:37 +01:00
|
|
|
<div class="information">
|
|
|
|
<div class="attachment_listing">
|
|
|
|
<strong>{{attachment.name}}</strong>
|
|
|
|
</div>
|
|
|
|
<div class="edit-attachment-buttons">
|
|
|
|
<button type="submit"
|
|
|
|
class="button small no-style remove-attachment"
|
|
|
|
title="{{t 'Delete file' }}" data-attachment="{{attachment.id}}">
|
|
|
|
<i class="icon-vector-trash"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
2017-04-15 05:13:32 +02:00
|
|
|
{{#if attachment.messages }}
|
2017-02-24 02:31:37 +01:00
|
|
|
<div class="attachment-messages">
|
2017-04-15 05:13:32 +02:00
|
|
|
{{#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}}
|
2017-02-24 02:31:37 +01:00
|
|
|
</div>
|
2017-04-15 05:13:32 +02:00
|
|
|
{{/if}}
|
2016-12-28 14:46:42 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|