diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html index ec490129..ae1dc092 100644 --- a/templates/post/fileinfo.html +++ b/templates/post/fileinfo.html @@ -1,16 +1,16 @@ {% if post.embed %} {{ post.embed }} - {% else %} -
File: {{ file.file }}
+ 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 %}
@@ -21,18 +21,22 @@
{% 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 }}
+ {% if file.thumb == 'spoiler' %}
+ {% trans %}Spoiler Image{% endtrans %}
+ {% elseif file.filename|length > config.max_filename_display %}
+ {{ file.filename|truncate_filename(config.max_filename_display)|e|bidi_cleanup }}
{% else %}
- {{ file.filename|e|bidi_cleanup }}
+ {{ file.filename|e|bidi_cleanup }}
{% endif %}
{% endif %}
)
+
{% include "post/image_identification.html" %}
- {% include "post/file_controls.html" %}