aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
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') ?>