aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates
diff options
context:
space:
mode:
authorLibravatar Choom 2022-12-17 20:17:36 -0300
committerLibravatar Choom 2022-12-18 02:54:53 -0300
commit60ab15c63b815d8cdf29d7a3cb806daccdc02d06 (patch)
treef25b903a8c9cc52a0dd23efe595f70677f2789e9 /cgi/templates
parent109634fcea1a558be5da5bb607a2d5d5083d2b4f (diff)
downloadweabot-60ab15c63b815d8cdf29d7a3cb806daccdc02d06.tar.gz
weabot-60ab15c63b815d8cdf29d7a3cb806daccdc02d06.tar.xz
weabot-60ab15c63b815d8cdf29d7a3cb806daccdc02d06.zip
Fix goto
Diffstat (limited to 'cgi/templates')
-rw-r--r--cgi/templates/manage/recent.html12
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 ?>