aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/lockboard.html
diff options
context:
space:
mode:
authorLibravatar Choom 2022-12-15 04:33:13 -0300
committerLibravatar Choom 2022-12-17 03:24:45 -0300
commit2767ab7add47272192d78ac92592e4d3d18878a3 (patch)
tree73ce3ff57d4153654c513634da5d52d5482deac4 /cgi/templates/manage/lockboard.html
parent7a4f14b0992621bf6df944d086d65a6b4476f33d (diff)
downloadweabot-2767ab7add47272192d78ac92592e4d3d18878a3.tar.gz
weabot-2767ab7add47272192d78ac92592e4d3d18878a3.tar.xz
weabot-2767ab7add47272192d78ac92592e4d3d18878a3.zip
Fix manage
Fix manage
Diffstat (limited to 'cgi/templates/manage/lockboard.html')
-rw-r--r--cgi/templates/manage/lockboard.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/cgi/templates/manage/lockboard.html b/cgi/templates/manage/lockboard.html
index cebf061..49559f6 100644
--- a/cgi/templates/manage/lockboard.html
+++ b/cgi/templates/manage/lockboard.html
@@ -3,15 +3,15 @@
<center>
<div class="replymode">Cerrar o abrir board</div>
<table class="managertable">
- <tr><th colspan="2">Sección</th><th>Acción</th></tr>
+ <tr>
+ <th colspan="2">Sección</th>
+ <th>Acción</th>
+ </tr>
<?py for board in boards: ?>
<tr>
- <td>/#{board['dir']}/</td><td>#{board['name']}</td>
- <?py if board['locked'] == '0': ?>
- <td style="text-align:center;">[<a href="#{cgi_url}manage/boardlock/#{board['dir']}">Cerrar</a>]</td>
- <?py elif board['locked'] == '1': ?>
- <td style="text-align:center;">[<a href="#{cgi_url}manage/boardlock/#{board['dir']}">Abrir</a>]</td>
- <?py #endif ?>
+ <td>#{board['dir']}</td>
+ <td>#{board['name']}</td>
+ <td style="text-align:center;">[<a href="#{cgi_url}manage/boardlock/#{board['dir']}">#{'Abrir' if board['locked'] else 'Cerrar'}</a>]</td>
</tr>
<?py #endfor ?>
</table>