From c483e1258cb5d168812a6e509e982a172f6c36c6 Mon Sep 17 00:00:00 2001 From: copypaste Date: Sun, 27 Apr 2014 15:48:47 +0200 Subject: multiimage posting --- templates/post/fileinfo.html | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 templates/post/fileinfo.html (limited to 'templates/post') diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html new file mode 100644 index 00000000..2136169b --- /dev/null +++ b/templates/post/fileinfo.html @@ -0,0 +1,38 @@ + {% if post.embed %} + {{ post.embed }} + {% else %} +
+ {% for file in post.files %} +
+ {% if file.file == 'deleted' %} + + {% else %} +

File: {{ file.file }} + ( + {% if file.thumb == 'spoiler' %} + {% trans %}Spoiler Image{% endtrans %}, + {% endif %} + {{ file.size|filesize }} + {% if file.width and file.height %} + , {{ file.width}}x{{ file.height }} + {% if config.show_ratio %} + , {{ ratio(file.width, file.height) }} + {% endif %} + {% endif %} + {% if config.show_filename and file.filename %} + , + {% if file.filename|length > config.max_filename_display %} + {{ file.filename|truncate(config.max_filename_display)|bidi_cleanup }} + {% else %} + {{ file.filename|e|bidi_cleanup }} + {% endif %} + {% endif %} + {% include "post/image_identification.html" %} + ) +

+ {% include "post/image.html" with {'post':file} %} + {% endif %} +
+ {% endfor %} +
+ {% endif %} -- cgit v1.3