uploaded_files_list: Reorder download and delete buttons.

The download button should come before the delete button.
This commit is contained in:
akshatdalton 2021-05-13 10:29:31 +00:00 committed by Tim Abbott
parent 23dc3bf995
commit 43498c9ebd
1 changed files with 5 additions and 5 deletions

View File

@ -19,6 +19,11 @@
</td>
<td>{{ size_str }}</td>
<td class="actions">
<span class="edit-attachment-buttons">
<a type="submit" href="/user_uploads/{{path_id}}" class="btn no-style" title="{{t 'Download file' }}" id="download_attachment" download>
<i class="fa fa-download sea-green" aria-hidden="true"></i>
</a>
</span>
<span class="edit-attachment-buttons">
<button type="submit"
class="button small no-style remove-attachment"
@ -26,11 +31,6 @@
<i class="fa fa-trash-o" aria-hidden="true"></i>
</button>
</span>
<span class="edit-attachment-buttons">
<a type="submit" href="/user_uploads/{{path_id}}" class="btn no-style" title="{{t 'Download file' }}" id="download_attachment" download>
<i class="fa fa-download sea-green" aria-hidden="true"></i>
</a>
</span>
</td>
</tr>
{{/with}}