aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Renard 2020-03-14 14:08:09 -0300
committerLibravatar Renard 2020-03-14 14:08:09 -0300
commite14d9f605987898b02beacc3c124360eecaa9fd2 (patch)
treedc9b1cc02e9eb994fd39f194fc2247e47501bd74
parent6cacc33541e7bec8c85a59a6ca4a60c09354ace9 (diff)
downloadweabot-e14d9f605987898b02beacc3c124360eecaa9fd2.tar.gz
weabot-e14d9f605987898b02beacc3c124360eecaa9fd2.tar.xz
weabot-e14d9f605987898b02beacc3c124360eecaa9fd2.zip
Fix nombre variable
-rw-r--r--cgi/templates/manage/recent.html19
1 files changed, 9 insertions, 10 deletions
diff --git a/cgi/templates/manage/recent.html b/cgi/templates/manage/recent.html
index 1e72d88..510d1b7 100644
--- a/cgi/templates/manage/recent.html
+++ b/cgi/templates/manage/recent.html
@@ -15,21 +15,20 @@
<tbody>
<?py for post in posts: ?>
<tr>
- <td>#{posts['id']}</td>
- <td>/#{posts['boardid']}/</td>
- <td>#{posts['file']}</td>
- <td>#{posts['timestamp']}</td>
- <td>#{posts['message']}</td>
+ <td>#{post['id']}</td>
+ <td>/#{post['boardid']}/</td>
+ <td>#{post['file']}</td>
+ <td>#{post['timestamp']}</td>
+ <td>#{post['message']}</td>
<td>
- <a href="#{cgi_url}manage/mod/ipshow?ip=#{posts['ip']}">#{posts['ip']}</a>
+ <a href="#{cgi_url}manage/mod/ipshow?ip=#{post['ip']}">#{post['ip']}</a>
</td>
<th>
- <a title="Eliminar mensaje" href="#{cgi_url}manage/mod/delete/#{posts['boardid']}/#{posts['id']}"><img
+ <a title="Eliminar mensaje" href="#{cgi_url}manage/mod/delete/#{post['boardid']}/#{post['id']}"><img
src="/icons/comment_delete.png" /></a>
- <a title="Banear" href="#{cgi_url}manage/ban?ip=#{posts['ip']}"><img
- src="/static/icons/user_delete.png" /></a>
+ <a title="Banear" href="#{cgi_url}manage/ban?ip=#{post['ip']}"><img src="/static/icons/user_delete.png" /></a>
<a title="Eliminar y Banear"
- href="#{cgi_url}manage/mod/delete/#{posts['boardid']}/#{posts['id']}?ban=true"><img
+ href="#{cgi_url}manage/mod/delete/#{posts['boardid']}/#{post['id']}?ban=true"><img
src="/static/icons/cross.png" /></a>
</th>
</tr>