aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_thread.en.html
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/txt_thread.en.html')
-rw-r--r--cgi/templates/txt_thread.en.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/templates/txt_thread.en.html b/cgi/templates/txt_thread.en.html
index b9215f7..84c3fc1 100644
--- a/cgi/templates/txt_thread.en.html
+++ b/cgi/templates/txt_thread.en.html
@@ -52,7 +52,7 @@
<?py #endif ?> : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span>
<span class="del"><a href="#{cgi_url}report/#{board}/#{post['id']}/#{post['num']}">rep</a> <a href="#">del</a></span></h4>
<?py if post['file']: ?>
- <a href="#{images_url}#{board}/src/#{post['file']}" target="_blank" class="thumb"><img src="#{images_url}#{board}/thumb/#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" /><div>${int(post['file_size'])//1024}KB ${post['file'].split(".")[1].upper()}</div></a>
+ <a href="/#{board}/src/#{post['file']}" target="_blank" class="thumb"><img src="#{'/static/' if post['thumb'].startswith('mime') else ('/'+board+'/thumb/')}#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" title="${post['file']}-(${post['file_size']} B)" /></a>
<?py #endif ?>
<div class="msg">
#{post['message']}