aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_thread.en.html
diff options
context:
space:
mode:
authorLibravatar junk 2021-03-27 22:02:38 -0300
committerLibravatar junk 2021-03-28 05:37:20 -0300
commitaa8a6056f4c3cd8c6663d1714782f972bcb87b8f (patch)
tree55b2fd7647cecd08996034ea6f335fef7ec6f9ed /cgi/templates/txt_thread.en.html
parent9b039e42df4eefb7971a2cfa19bce260ab4ef08f (diff)
downloadweabot-aa8a6056f4c3cd8c6663d1714782f972bcb87b8f.tar.gz
weabot-aa8a6056f4c3cd8c6663d1714782f972bcb87b8f.tar.xz
weabot-aa8a6056f4c3cd8c6663d1714782f972bcb87b8f.zip
Arreglando lista de hilos
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']}