aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_board.en.html
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/txt_board.en.html')
-rw-r--r--cgi/templates/txt_board.en.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/templates/txt_board.en.html b/cgi/templates/txt_board.en.html
index a5a70dd..1f7de9c 100644
--- a/cgi/templates/txt_board.en.html
+++ b/cgi/templates/txt_board.en.html
@@ -65,7 +65,7 @@
<?py #endif ?>
<?py #endif ?> : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</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']}