diff options
Diffstat (limited to 'cgi/templates')
-rw-r--r-- | cgi/templates/manage/recent.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cgi/templates/manage/recent.html b/cgi/templates/manage/recent.html index 006da56..d6040e5 100644 --- a/cgi/templates/manage/recent.html +++ b/cgi/templates/manage/recent.html @@ -23,14 +23,14 @@ <?py if post['subject']: ?> : <b><i>#{post['subject']}</i></b> <?py #endif ?> - : <b>#{post['name']}</b>#{post['tripcode']} + : <b>#{post['name']}</b>#{post['tripcode']} [#{post['email']}] : Hace <span name="timestamp" data-ts="#{post['timestamp']}">#{post['timestamp_formatted']}</span> @ #{post['board_name']} </div> <div class="recentmsg">#{post['message']}</div> <div class="actions"> <a href="#{cgi_url}manage/mod/${post['dir']}/#{post['parentid']}">Ver hilo completo</a> - <?py if post['board_type'] == '1': ?> + <?py if post['board_type'] == 1: ?> <a href="#{cgi_url}manage/goto/${post['dir']}/#{post['parentid']}">Ver hilo en BaI</a> <?py else: ?> <a href="/${post['dir']}/res/#{post['parentid'] if post['parentid'] != '0' else post['id']}.html">Ver hilo en BaI</a> @@ -41,9 +41,17 @@ <a href="#{cgi_url}manage/ipshow?ip=#{post['ip']}">#{post['ip']}</a> </td> <td style="white-space:nowrap;"> + <?py if post['IS_DELETED'] == 1: ?> + <small>Eliminado por usuario</small><br /> + <a href="#{cgi_url}manage/recyclebin/0/restore/#{post['dir']}/#{post['id']}">Recuperar</a> + <?py elif post['IS_DELETED'] == 2: ?> + <small>Eliminado por staff</small><br /> + <a href="#{cgi_url}manage/recyclebin/0/restore/#{post['dir']}/#{post['id']}">Recuperar</a> + <?py else: ?> <a href="#{cgi_url}manage/delete/#{post['dir']}/#{post['id']}">Eliminar</a> <a href="#{cgi_url}manage/delete/#{post['dir']}/#{post['id']}?ban=true">&</a> <a href="#{cgi_url}manage/ban?ip=#{post['ip']}">Ban</a> + <?py #endif ?> </td> </tr> <?py #endfor ?> |