aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_archive.html
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/txt_archive.html')
-rw-r--r--cgi/templates/txt_archive.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/cgi/templates/txt_archive.html b/cgi/templates/txt_archive.html
index 6749352..2b5caa3 100644
--- a/cgi/templates/txt_archive.html
+++ b/cgi/templates/txt_archive.html
@@ -44,15 +44,11 @@
<h3>#{thread['subject']} <span>(${(str(thread['length'])+" respuestas") if thread['length'] > 1 else "Una respuesta"})</span></h3>
<?py for post in thread['posts']: ?>
<?py if post['IS_DELETED'] == '1': ?>
- <h4 class="deleted">#{post['num']} : Mensaje eliminado por el usuario.</h4>
+ <div class="reply deleted" data-n="#{post['num']}"><h4>#{post['num']} : Mensaje eliminado por usuario.</h4></div>
<?py elif post['IS_DELETED'] == '2': ?>
- <h4 class="deleted">#{post['num']} : Mensaje eliminado por miembro del staff.</h4>
+ <div class="reply deleted" data-n="#{post['num']}"><h4>#{post['num']} : Mensaje eliminado por staff.</h4></div>
<?py else: ?>
- <?py if post['num'] == 1: ?>
- <div class="reply first" data-n="#{post['num']}">
- <?py else: ?>
- <div class="reply" data-n="#{post['num']}">
- <?py #endif ?>
+ <div class="reply#{' first' if post['num'] == 1 else ''}" data-n="#{post['num']}">
<h4>#{post['num']} :
<?py if post['email']: ?>
<?py if post['tripcode']: ?>
@@ -95,4 +91,4 @@
<div class="end">weabot.py ver <?py include('templates/revision.html') ?> Bienvenido a Internet BBS/IB</div>
<a name="bottom"></a>
</body>
-</html>
+</html> \ No newline at end of file