diff options
Diffstat (limited to 'cgi/templates/board.html')
-rw-r--r-- | cgi/templates/board.html | 6 |
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 ?> |