diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html index b0026419..be25a276 100644 --- a/templates/post/fileinfo.html +++ b/templates/post/fileinfo.html @@ -1,16 +1,16 @@ {% if post.embed %} {{ post.embed }} - {% else %} -
File: {{ file.file }} ( {% if file.thumb == 'spoiler' %} - {% trans %}Spoiler Image{% endtrans %}, + {% trans %}Spoiler Image{% endtrans %}, {% endif %} {{ file.size|filesize }} {% if file.width and file.height %} @@ -20,7 +20,7 @@ {% endif %} {% endif %} {% if config.show_filename and file.filename %} - , + , {% if file.filename|length > config.max_filename_display %} {{ file.filename|truncate_filename(config.max_filename_display)|e|bidi_cleanup }} {% else %} @@ -33,6 +33,6 @@ {% include "post/image.html" with {'post':file} %} {% endif %}