aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorLibravatar neptune 2023-07-23 00:44:34 -0400
committerLibravatar neptune 2023-07-23 00:44:34 -0400
commit4c1f40d827e1d31049a916f8d29df992ed628853 (patch)
treef2ce1d794f3dc16d52e5c1025766a69b931511d7 /cgi
parent1c0ed6b7d28728713e3c9a377b8eadfa05afda88 (diff)
downloadweabot-4c1f40d827e1d31049a916f8d29df992ed628853.tar.gz
weabot-4c1f40d827e1d31049a916f8d29df992ed628853.tar.xz
weabot-4c1f40d827e1d31049a916f8d29df992ed628853.zip
Arreglado bug de Lock y Pemasage en modbrowse
Diffstat (limited to 'cgi')
-rw-r--r--cgi/templates/manage/mod.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/cgi/templates/manage/mod.html b/cgi/templates/manage/mod.html
index bb93c9d..2ecfd04 100644
--- a/cgi/templates/manage/mod.html
+++ b/cgi/templates/manage/mod.html
@@ -30,8 +30,8 @@
<td>${thread['message'][:200]}</td>
<td>#{thread['length']}</td>
<td style="white-space:nowrap;">
- <a href="#{cgi_url}manage/lock/#{dir}/#{thread['id']}">L#{"-" if thread['locked'] == "1" else "+"}</a>
- <a href="#{cgi_url}manage/permasage/#{dir}/#{thread['id']}">PS#{"-" if thread['locked'] == "2" else "+"}</a>
+ <a href="#{cgi_url}manage/lock/#{dir}/#{thread['id']}">L#{"-" if thread['locked'] == 1 else "+"}</a>
+ <a href="#{cgi_url}manage/permasage/#{dir}/#{thread['id']}">PS#{"-" if thread['locked'] == 2 else "+"}</a>
<a href="#{cgi_url}manage/move/#{dir}/#{thread['id']}">M</a>
<a href="#{cgi_url}manage/delete/#{dir}/#{thread['id']}">D</a>
<a href="#{cgi_url}manage/delete/#{dir}/#{thread['id']}?ban=true">&</a>
@@ -49,8 +49,8 @@
<tr>
<td colspan="8" style="font-size:14pt;text-align:center;">
<a href="#{cgi_url}manage/goto/${dir}/#{posts[0]['id']}">Ver en BaI</a> /
- <a href="#{cgi_url}manage/lock/#{dir}/#{posts[0]['id']}">#{"Abrir hilo" if posts[0]['locked'] == "1" else "Cerrar hilo"}</a> /
- <a href="#{cgi_url}manage/permasage/#{dir}/#{posts[0]['id']}">#{"Quitar permasage" if posts[0]['locked'] == "2" else "Permasage"}</a> /
+ <a href="#{cgi_url}manage/lock/#{dir}/#{posts[0]['id']}">#{"Abrir hilo" if posts[0]['locked'] == 1 else "Cerrar hilo"}</a> /
+ <a href="#{cgi_url}manage/permasage/#{dir}/#{posts[0]['id']}">#{"Quitar permasage" if posts[0]['locked'] == 2 else "Permasage"}</a> /
<a href="#{cgi_url}manage/move/#{dir}/#{posts[0]['id']}">Mover hilo</a>
</td>
</tr>