diff options
Diffstat (limited to 'cgi/templates/manage/ipshow.html')
-rw-r--r-- | cgi/templates/manage/ipshow.html | 10 |
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> |