Commit 28259b7b by Kálmán Viktor

dashboard: add filename and size to disk list

Closes #327
Closes #326
parent 709eec33
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{% load sizefieldtags %} {% load sizefieldtags %}
<i class="fa fa-file"></i> <i class="fa fa-file"></i>
{{ d.name }} (#{{ d.id }}) {{ d.name }} (#{{ d.id }}) - {{ d.size|filesize }}
{% if op.remove_disk %} {% if op.remove_disk %}
<span class="operation-wrapper"> <span class="operation-wrapper">
...@@ -22,5 +22,8 @@ ...@@ -22,5 +22,8 @@
</a> </a>
</span> </span>
{% endif %} {% endif %}
<div style="clear: both;"></div> <div style="clear: both;"></div>
{% if request.user.is_superuser %}
<small>{% trans "File name" %}: {{ d.filename }}</small>
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment