diff options
author | neptune | 2021-11-15 13:35:08 -0300 |
---|---|---|
committer | neptune | 2021-11-15 13:35:08 -0300 |
commit | a16f23f034fb942b44e0665224d499af57aec1ad (patch) | |
tree | 8733eec9968d38153f1e0cfa2ca76f664dfb1773 /cgi/templates/txt_archive.html | |
parent | e34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3 (diff) | |
download | weabot-a16f23f034fb942b44e0665224d499af57aec1ad.tar.gz weabot-a16f23f034fb942b44e0665224d499af57aec1ad.tar.xz weabot-a16f23f034fb942b44e0665224d499af57aec1ad.zip |
Nueva revisiĆ³n Py3
Diffstat (limited to 'cgi/templates/txt_archive.html')
-rw-r--r-- | cgi/templates/txt_archive.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/templates/txt_archive.html b/cgi/templates/txt_archive.html index 88b3196..1407fcf 100644 --- a/cgi/templates/txt_archive.html +++ b/cgi/templates/txt_archive.html @@ -43,9 +43,9 @@ <div class="thread" data-length="#{thread['length']}"> <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': ?> + <?py if post['IS_DELETED'] == 1: ?> <div class="reply deleted" data-n="#{post['num']}"><h4>#{post['num']} : Mensaje eliminado por usuario.</h4></div> - <?py elif post['IS_DELETED'] == '2': ?> + <?py elif post['IS_DELETED'] == 2: ?> <div class="reply deleted" 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-n="#{post['num']}"> |