aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/board.html
diff options
context:
space:
mode:
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 7173fde..70718b8 100644
--- a/cgi/templates/board.html
+++ b/cgi/templates/board.html
@@ -163,9 +163,9 @@
</a>
<?py #endif ?>
<a name="#{post['id']}"></a>
- <?py if post['IS_DELETED'] == '1': ?>
+ <?py if post['IS_DELETED'] == 1: ?>
<span class="deleted">No.#{post['id']} eliminado por usuario.</span>
- <?py elif post['IS_DELETED'] == '2': ?>
+ <?py elif post['IS_DELETED'] == 2: ?>
<span class="deleted">No.#{post['id']} eliminado por miembro del staff.</span>
<?py else: ?>
<div class="info"><label><input type="checkbox" name="delete" value="#{post['id']}" />
@@ -235,7 +235,7 @@
#{post['message']}
</blockquote>
<?py if not replythread and post['shortened']: ?>
- <blockquote class="abbrev">(Post muy largo... Presiona <a href="#{boards_url}#{board}/res/#{post['id'] if post['parentid'] == "0" else post['parentid']}.html##{post['id']}">aqu&iacute;</a> para verlo completo.)</blockquote>
+ <blockquote class="abbrev">(Post muy largo... Presiona <a href="#{boards_url}#{board}/res/#{post['id'] if not post['parentid'] else post['parentid']}.html##{post['id']}">aqu&iacute;</a> para verlo completo.)</blockquote>
<?py #endif ?>
<?py if int(post['expires_alert']): ?>
<div style="color:red;font-weight:bold;">Este hilo es viejo y desaparecerá pronto.</div>