aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage
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/manage
parente11669559b14dfb14b40bb0a8cafb2f62dc268eb (diff)
downloadweabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.tar.gz
weabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.tar.xz
weabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.zip
Arreglados problemas de migraciĆ³n
Diffstat (limited to 'cgi/templates/manage')
-rw-r--r--cgi/templates/manage/mod.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi/templates/manage/mod.html b/cgi/templates/manage/mod.html
index c76965e..bb93c9d 100644
--- a/cgi/templates/manage/mod.html
+++ b/cgi/templates/manage/mod.html
@@ -77,14 +77,14 @@
</td>
<td><a href="#{cgi_url}manage/ipshow?ip=#{p['ip']}">#{p['ip']}</a></td>
<td style="white-space:nowrap;">
- <?py if p['IS_DELETED'] == '0': ?>
+ <?py if not p['IS_DELETED']: ?>
<a href="#{cgi_url}manage/delete/#{dir}/#{p['id']}">Eliminar</a>
<a href="#{cgi_url}manage/delete/#{dir}/#{p['id']}?ban=true">&</a>
<a href="/cgi/manage/ban?ip=#{p['ip']}">Ban</a>
- <?py elif p['IS_DELETED'] == '1': ?>
+ <?py elif p['IS_DELETED'] == 1: ?>
<a href="#{cgi_url}manage/recyclebin/0/restore/#{dir}/#{p['id']}">Recuperar</a>
<abbr title="Eliminado por usuario">[1]</abbr>
- <?py elif p['IS_DELETED'] == '2': ?>
+ <?py elif p['IS_DELETED'] == 2: ?>
<a href="#{cgi_url}manage/recyclebin/0/restore/#{dir}/#{p['id']}">Recuperar</a>
<abbr title="Eliminado por staff">[2]</abbr>
<?py #endif ?>