aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_thread.html
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/txt_thread.html')
-rw-r--r--cgi/templates/txt_thread.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html
index d2d3224..907d660 100644
--- a/cgi/templates/txt_thread.html
+++ b/cgi/templates/txt_thread.html
@@ -27,6 +27,7 @@
<?py #endif ?>
<div class="thread" data-length="#{thread['length']}">
<h3>#{thread['subject']} <span>(${(str(thread['length'])+" respuestas") if thread['length']>1 else "Una respuesta"})</span></h3>
+ <div class="replies">
<?py for post in thread['posts']: ?>
<?py if post['IS_DELETED'] == 1: ?>
<div class="reply deleted" id="p#{post['id']}" data-n="#{post['num']}"><h4>#{post['num']} : Mensaje eliminado por usuario.</h4></div>
@@ -56,6 +57,7 @@
</div>
<?py #endif ?>
<?py #endfor ?>
+ </div>
<div id="size">#{thread['size']}</div>
</div>
<hr />
@@ -65,6 +67,8 @@
<?py #endif ?>
<?py if thread['length'] > 1000: ?>
<div class="stop red">El hilo superó los 1000 mensajes y ha sido cerrado. Ya no se puede postear en él.</div>
+<?py elif thread['length'] > 950: ?>
+ <div class="warn red">El hilo ha recibido más de 950 mensajes. Cuando llegue a 1000 será cerrado.</div>
<?py elif thread['length'] > 900: ?>
<div class="warn yellow">El hilo ha recibido más de 900 mensajes. Cuando llegue a 1000 será cerrado.</div>
<?py #endif ?>
@@ -85,7 +89,7 @@
</div>
<input type="hidden" name="board" value="#{board}" /><input type="hidden" name="parent" value="#{thread['id']}" /><input type="hidden" name="password" value="" />
<?py if thread['locked'] != 1: ?>
- <div style="display:none"><input type="text" name="name" size="13" /> <input type="text" name="email" size="13" /></div>
+ <div style="display:none;"><input type="text" name="name" size="13" /> <input type="text" name="email" size="13" /></div>
<input type="submit" value="Responder" accesskey="z" /> <input type="button" name="preview" value="Previsualizar" /> <span><span>Nombre: </span><input type="text" name="fielda" size="13" accesskey="n" /> <span>E-mail: </span><input type="text" name="fieldb" size="13" accesskey="e" /></span><br />
<textarea name="message" cols="80" rows="7" accesskey="m"></textarea><br />
<div id="preview#{thread['id']}" class="msg" style="display:none"></div>