From e81ce17fb4fdb6215d942005c10db32f4bafa6d5 Mon Sep 17 00:00:00 2001
From: czaks
Date: Wed, 16 Apr 2014 11:54:41 +0200
Subject: modularize post templates a little bit; try to unify duplicate code
---
templates/post_thread.html | 59 +++-------------------------------------------
1 file changed, 3 insertions(+), 56 deletions(-)
(limited to 'templates/post_thread.html')
diff --git a/templates/post_thread.html b/templates/post_thread.html
index fdf6369a..acacd602 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -28,49 +28,10 @@
{{ post.filename|e|bidi_cleanup }}
{% endif %}
{% endif %}
- {% if post.thumb != 'file' and config.image_identification %}
- ,
-
- io
- {% if post.file|extension == 'jpg' %}
- e
- {% endif %}
- g
- t
-
- {% endif %}
+ {% include "post/image_identification.html" %}
)
-