From 4e6803e9a7d2644cde890f3fec0035025d19e4c8 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Tue, 20 Aug 2024 15:00:00 +0200 Subject: [PATCH] fileinfo.html: use only tabs --- templates/post/fileinfo.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 %} -
- {% for file in post.files %} -
+ {% else %} +
+ {% for file in post.files %} +
{% if file.file == 'deleted' %} {% 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 %}

- {% endfor %} + {% endfor %}
- {% endif %} + {% endif %}