diff options
author | junk | 2021-03-28 07:51:40 -0300 |
---|---|---|
committer | junk | 2021-03-31 05:27:26 -0300 |
commit | f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba (patch) | |
tree | f0d72c1a497f73863078f1970e3ba692ffec860d /cgi/templates/txt_board.html | |
parent | aa8a6056f4c3cd8c6663d1714782f972bcb87b8f (diff) | |
download | weabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.tar.gz weabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.tar.xz weabot-f7baf0c69606d49c6be86d3f27bc88d9d58cd4ba.zip |
Mejor forma de ocultar posts
Diffstat (limited to 'cgi/templates/txt_board.html')
-rw-r--r-- | cgi/templates/txt_board.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi/templates/txt_board.html b/cgi/templates/txt_board.html index a165ac1..7b0207b 100644 --- a/cgi/templates/txt_board.html +++ b/cgi/templates/txt_board.html @@ -46,11 +46,11 @@ <h2><span>[#{titer}:#{thread['length']}]</span><a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{'l50' if thread['length'] > 50 else ''}">#{thread['posts'][0]['subject']}</a></h2> <?py for post in thread['posts']: ?> <?py if post['IS_DELETED'] == '1': ?> - <h4 class="deleted">#{post['num']} : Mensaje eliminado por usuario.</h4> + <div class="reply deleted" id="p#{post['id']}" 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 staff.</h4> + <div class="reply deleted" id="p#{post['id']}" data-n="#{post['num']}"><h4>#{post['num']} : Mensaje eliminado por staff.</h4></div> <?py else: ?> - <div class="reply#{' first' if post['num'] == 1 else ''}" data-id="#{post['id']}" data-n="#{post['num']}"> + <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']: ?> |