aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/lockboard.html
diff options
context:
space:
mode:
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>