From e034b9179dd2777353c369910e65350d5496b779 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 6 Apr 2014 21:48:31 +0200 Subject: [PATCH] fix paths in templates --- templates/post_reply.html | 33 ++++++++++++++++++++++-------- templates/post_thread.html | 42 ++++++++++++++++++++++++++------------ 2 files changed, 53 insertions(+), 22 deletions(-) diff --git a/templates/post_reply.html b/templates/post_reply.html index 713ddac9..bdac289d 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -93,20 +93,35 @@ )

- - + {% if post.thumb|extension == 'webm' %} + + {% else %} + + {% endif %} {% endif %} {{ post.postControls }} diff --git a/templates/post_thread.html b/templates/post_thread.html index 113444be..fdf6369a 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -41,20 +41,36 @@ {% endif %} )

- - + {{ config.uri_img }}{{ post.file }} + {% endif %}" target="_blank"{% if post.thumb == 'file' or post.modifiers['is_file'] == '1' or post.filename|extension == 'webm' %} class="file"{% endif %}> + {% if post.thumb|extension == 'webm' %} + + {% else %} + + {% endif %} + {% endif %}