Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

uploaded_files_list: Reorder download and delete buttons.

akshatdalton43498c9ebda5
diff --git a/static/templates/uploaded_files_list.hbs b/static/templates/uploaded_files_list.hbs
index b2f81902ada..c1361cd31fb 100644
--- a/static/templates/uploaded_files_list.hbs
+++ b/static/templates/uploaded_files_list.hbs
@@ -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}}