aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorLibravatar bai 2020-07-21 07:28:05 -0400
committerLibravatar bai 2020-07-21 07:28:05 -0400
commit7cf693695038a3377b4ac03e409bdac7ecf84d93 (patch)
tree644c1edaecb2ddec857353ef33236c2153be79fa /cgi
parent8b7427763f8ec4cf76e69d26d4ff3d105a42dd41 (diff)
downloadweabot-7cf693695038a3377b4ac03e409bdac7ecf84d93.tar.gz
weabot-7cf693695038a3377b4ac03e409bdac7ecf84d93.tar.xz
weabot-7cf693695038a3377b4ac03e409bdac7ecf84d93.zip
Revertido cambio de label de imagen miniatura
Diffstat (limited to 'cgi')
-rw-r--r--cgi/templates/board.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/cgi/templates/board.html b/cgi/templates/board.html
index 4b94e87..43cefd9 100644
--- a/cgi/templates/board.html
+++ b/cgi/templates/board.html
@@ -145,6 +145,11 @@
<?py else: ?>
<div class="fs"><span>Nombre de archivo:</span><a href="#{images_url}#{board}/src/#{post['file']}" target="_blank">#{post['file']}</a>-(#{post['file_size']} B)
<?py #endif ?>
+ <?py if post['file'][-3:] == 'gif': ?>
+ <small>GIF animado</small>
+ <?py elif not post['thumb'].startswith('mime'): ?>
+ <small>Imagen miniatura</small>
+ <?py #endif ?>
<?py if not replythread: ?>
[<a href="#" title="Ocultar hilo" class="tt">Ocultar hilo</a>]
<?py #endif ?>
@@ -200,6 +205,11 @@
<?py else: ?>
<a href="#{images_url}#{board}/src/#{post['file']}" target="_blank">#{post['file']}</a>-(#{post['file_size']} B)
<?py #endif ?>
+ <?py if post['file'][-3:] == 'gif': ?>
+ <small>GIF animado</small>
+ <?py elif not post['thumb'].startswith('mime'): ?>
+ <small>Imagen miniatura</small>
+ <?py #endif ?>
</div>
<a target="_blank" href="#{images_url}#{board}/src/#{post['file']}" id="thumb#{post['id']}">
<?py if post['thumb'].startswith('mime'): ?>
@@ -261,4 +271,4 @@
<?py if pagenav: ?>
<div class="pg">#{pagenav}</div>
<?py #endif ?>
-<?py include('templates/base_bottom.html') ?> \ No newline at end of file
+<?py include('templates/base_bottom.html') ?>