2017-09-17 01:20:11 +02:00
|
|
|
{{#with attachment}}
|
2024-09-30 22:16:33 +02:00
|
|
|
<tr class="uploaded_file_row" data-attachment-name="{{name}}" data-attachment-id="{{id}}">
|
2017-12-08 14:24:32 +01:00
|
|
|
<td>
|
2024-01-26 15:53:38 +01:00
|
|
|
<a type="submit" class="tippy-zulip-delayed-tooltip" href="/user_uploads/{{path_id}}" target="_blank" rel="noopener noreferrer" data-tippy-content="{{t 'View file' }}">
|
2017-09-28 20:32:32 +02:00
|
|
|
{{ name }}
|
|
|
|
</a>
|
|
|
|
</td>
|
2017-12-08 14:24:32 +01:00
|
|
|
<td>{{ create_time_str }}</td>
|
2017-09-17 01:20:11 +02:00
|
|
|
<td>
|
|
|
|
{{#if messages }}
|
|
|
|
<div class="attachment-messages">
|
|
|
|
{{#each messages}}
|
2021-12-04 15:39:38 +01:00
|
|
|
<a class="ind-message" href="/#narrow/id/{{ this.id }}">
|
|
|
|
#{{ this.id }}
|
|
|
|
</a>
|
2017-09-17 01:20:11 +02:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</td>
|
2022-10-11 14:20:27 +02:00
|
|
|
<td class="upload-size" >{{ size_str }}</td>
|
2019-08-22 10:33:44 +02:00
|
|
|
<td class="actions">
|
2021-05-13 17:01:47 +02:00
|
|
|
<span class="edit-attachment-buttons">
|
2024-09-30 22:16:33 +02:00
|
|
|
<a type="submit" href="/user_uploads/{{path_id}}" class="button rounded small sea-green tippy-zulip-delayed-tooltip download-attachment" data-tippy-content="{{t 'Download' }}" download>
|
2021-05-13 12:29:31 +02:00
|
|
|
<i class="fa fa-download sea-green" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
</span>
|
2017-09-17 01:20:11 +02:00
|
|
|
<span class="edit-attachment-buttons">
|
|
|
|
<button type="submit"
|
2024-07-01 19:37:23 +02:00
|
|
|
class="button rounded small delete btn-danger remove-attachment tippy-zulip-delayed-tooltip"
|
|
|
|
data-tippy-content="{{t 'Delete' }}" data-attachment="{{id}}">
|
2018-07-04 00:31:58 +02:00
|
|
|
<i class="fa fa-trash-o" aria-hidden="true"></i>
|
2017-09-17 01:20:11 +02:00
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/with}}
|