aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/board.html
diff options
context:
space:
mode:
authorLibravatar neptune 2022-11-25 17:59:09 -0300
committerLibravatar neptune 2022-11-25 17:59:09 -0300
commitb09e855283b8521caa35e1aa0762cf8e986559d4 (patch)
tree2d1459eba210e2f7415b00d450fbc7cce700ff2f /cgi/templates/board.html
parent0889034f67f8d8cadc98dcbefcd7021b42a00408 (diff)
downloadweabot-b09e855283b8521caa35e1aa0762cf8e986559d4.tar.gz
weabot-b09e855283b8521caa35e1aa0762cf8e986559d4.tar.xz
weabot-b09e855283b8521caa35e1aa0762cf8e986559d4.zip
Actualizado repo
Diffstat (limited to 'cgi/templates/board.html')
-rw-r--r--cgi/templates/board.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi/templates/board.html b/cgi/templates/board.html
index 70718b8..3732ba9 100644
--- a/cgi/templates/board.html
+++ b/cgi/templates/board.html
@@ -241,11 +241,11 @@
<div style="color:red;font-weight:bold;">Este hilo es viejo y desaparecerá pronto.</div>
<?py #endif ?>
<?py #endif ?>
- <?py if post['parentid'] == "0": ?>
+ <?py if not post['parentid']: ?>
<?py if not replythread: ?>
- <?py if int(thread['omitted']) == 1: ?>
+ <?py if thread['omitted'] == 1: ?>
<div class="omitted">Un post omitido. Haz clic en Responder para ver.</div>
- <?py elif int(thread['omitted']) > 1: ?>
+ <?py elif thread['omitted'] > 1: ?>
<div class="omitted">#{thread['omitted']} posts omitidos. Haz clic en Responder para ver.</div>
<?py #endif ?>
<?py #endif ?>