aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_thread.en.html
diff options
context:
space:
mode:
authorLibravatar junk 2021-03-28 07:51:40 -0300
committerLibravatar junk 2021-03-31 05:27:26 -0300
commitf7baf0c69606d49c6be86d3f27bc88d9d58cd4ba (patch)
treef0d72c1a497f73863078f1970e3ba692ffec860d /cgi/templates/txt_thread.en.html
parentaa8a6056f4c3cd8c6663d1714782f972bcb87b8f (diff)
downloadweabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.tar.gz
weabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.tar.xz
weabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.zip
Mejor forma de ocultar posts
Diffstat (limited to 'cgi/templates/txt_thread.en.html')
-rw-r--r--cgi/templates/txt_thread.en.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/cgi/templates/txt_thread.en.html b/cgi/templates/txt_thread.en.html
index 84c3fc1..45f8f8e 100644
--- a/cgi/templates/txt_thread.en.html
+++ b/cgi/templates/txt_thread.en.html
@@ -27,16 +27,12 @@
<h3>#{thread['subject']} <span>(${(str(thread['length'])+" replies") if thread['length']>1 else "1 reply"})</span></h3>
<?py for post in thread['posts']: ?>
<?py if post['IS_DELETED'] == '1': ?>
- <h4 class="deleted">#{post['num']} : Post deleted by user.</h4>
+ <div class="reply deleted" id="p#{post['id']}" data-n="#{post['num']}"><h4>#{post['num']} : Post deleted by user.</h4></div>
<?py elif post['IS_DELETED'] == '2': ?>
- <h4 class="deleted">#{post['num']} : Post deleted by staff.</h4>
+ <div class="reply deleted" id="p#{post['id']}" data-n="#{post['num']}"><h4>#{post['num']} : Post deleted by 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 ?>
- <h4><a href="#" class="num">#{post['num']}</a> :
+ <div class="reply#{' first' if post['num'] == 1 else ''}" id="p#{post['id']}" data-n="#{post['num']}">
+ <h4>#{post['num']} :
<?py if post['email']: ?>
<?py if post['tripcode']: ?>
<a href="mailto:#{post['email']}"><span class="name"><b>#{post['name']}</b> #{post['tripcode']}</span></a>