minor file user fix

This commit is contained in:
Alexander Karpov 2023-08-05 18:28:30 +03:00
parent 87d323ab2d
commit 3bd43af70a

View File

@ -36,7 +36,7 @@
</h1>
<div class="col-md-4 col-sm-6 col-xs-auto mb-5">
{% if not has_perm %}
<p>Uploaded by: {% user_badge file.creator %}</p>
<p>Uploaded by: {% user_badge file.user %}</p>
{% endif %}
<p class="mt-2">Last updated: {{ file.modified|date:"d.m.Y" }} {{ file.modified|time:"H:i" }}</p>
<p>File size: {{ file.file_size | filesizeformat }}</p>