aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/ipshow.html
diff options
context:
space:
mode:
authorLibravatar neptune 2021-11-12 01:15:38 -0300
committerLibravatar neptune 2021-11-12 01:15:38 -0300
commite34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3 (patch)
tree88e5d4ee438a0b413bf83f7cc763def464da50d7 /cgi/templates/manage/ipshow.html
parent3693f572b119cf172be0f669313bdb8314cbbdc2 (diff)
downloadweabot-e34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3.tar.gz
weabot-e34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3.tar.xz
weabot-e34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3.zip
ActualizaciĆ³n inicial a Python 3
Diffstat (limited to 'cgi/templates/manage/ipshow.html')
-rw-r--r--cgi/templates/manage/ipshow.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/cgi/templates/manage/ipshow.html b/cgi/templates/manage/ipshow.html
index 6937a0e..4e9de17 100644
--- a/cgi/templates/manage/ipshow.html
+++ b/cgi/templates/manage/ipshow.html
@@ -49,14 +49,14 @@
<td></td>
<?py #endif ?>
<td>
- <?py if post['IS_DELETED'] == '0': ?>
- <a href="#{cgi_url}manage/delete/#{post['dir']}/#{post['id']}">Eliminar</a>
- <?py elif post['IS_DELETED'] == '1': ?>
- <a href="#{cgi_url}manage/recyclebin/0/restore/#{post['dir']}/#{post['id']}">Rec</a>
+ <?py if post['IS_DELETED'] == 1: ?>
+ <a href="#{cgi_url}manage/recyclebin/0/restore/#{post['dir']}/#{post['id']}">Rec</a>
<abbr title="Eliminado por usuario">[1]</abbr>
- <?py else: ?>
+ <?py elif post['IS_DELETED'] == 2: ?>
<a href="#{cgi_url}manage/recyclebin/0/restore/#{post['dir']}/#{post['id']}">Rec</a>
<abbr title="Eliminado por staff">[2]</abbr>
+ <?py else: ?>
+ <a href="#{cgi_url}manage/delete/#{post['dir']}/#{post['id']}">Eliminar</a>
<?py #endif ?>
</td>
</tr>