diff --git a/bookmarks/templates/bookmarks/details/assets.html b/bookmarks/templates/bookmarks/details/assets.html index fde3c4fd..40ef9a63 100644 --- a/bookmarks/templates/bookmarks/details/assets.html +++ b/bookmarks/templates/bookmarks/details/assets.html @@ -1,37 +1,42 @@ -{% if details.assets %} -
- {% for asset in details.assets %} -
-
- {% include 'bookmarks/details/asset_icon.html' %} -
-
+
+ {% if details.assets %} +
+ {% for asset in details.assets %} +
+
+ {% include 'bookmarks/details/asset_icon.html' %} +
+
{{ asset.display_name }} {% if asset.status == 'pending' %}(queued){% endif %} {% if asset.status == 'failure' %}(failed){% endif %} - {% if asset.file_size %} - {{ asset.file_size|filesizeformat }} - {% endif %} -
-
- {% if asset.file %} - View - {% endif %} - {% if details.is_editable %} - - {% endif %} + {% if asset.file_size %} + {{ asset.file_size|filesizeformat }} + {% endif %} +
+
+ {% if asset.file %} + View + {% endif %} + {% if details.is_editable %} + + {% endif %} +
-
- {% endfor %} -
-{% endif %} + {% endfor %} +
+ {% endif %} -{% if details.is_editable %} -
- -
-{% endif %} \ No newline at end of file + {% if details.is_editable %} +
+ +
+ {% endif %} +
\ No newline at end of file diff --git a/bookmarks/templates/bookmarks/details_modal.html b/bookmarks/templates/bookmarks/details_modal.html index d3581870..51551b05 100644 --- a/bookmarks/templates/bookmarks/details_modal.html +++ b/bookmarks/templates/bookmarks/details_modal.html @@ -1,7 +1,6 @@