aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/board.html
diff options
context:
space:
mode:
authorLibravatar neptune 2022-02-21 18:56:39 -0300
committerLibravatar neptune 2022-02-21 18:56:39 -0300
commit8dcb65e8f3fbe519657d71037f1c367fd3d80e53 (patch)
tree442d44b331b4571a8e521a210fd13d3f3bbf3ceb /cgi/templates/board.html
parente11669559b14dfb14b40bb0a8cafb2f62dc268eb (diff)
downloadweabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.tar.gz
weabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.tar.xz
weabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.zip
Arreglados problemas de migración
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>