aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/board.0.html
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/board.0.html')
-rw-r--r--cgi/templates/board.0.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/cgi/templates/board.0.html b/cgi/templates/board.0.html
index 525a041..7097f2a 100644
--- a/cgi/templates/board.0.html
+++ b/cgi/templates/board.0.html
@@ -120,7 +120,7 @@
<?py #endif ?>
<div id="thread#{thread['id']}#{board}" class="thread" data-length="#{thread['length']}">
<?py for post in thread['posts']: ?>
- <?py if int(post['parentid']) != 0: ?>
+ <?py if int(post['parentid']) != 0 and not post['IS_DELETED']: ?>
<table><tr><td class="ell">…</td>
<td class="reply" id="reply#{post['id']}">
<?py elif post['file']: ?>
@@ -143,12 +143,8 @@
<?py #endif ?>
</a>
<?py #endif ?>
- <a name="#{post['id']}"></a>
- <?py if post['IS_DELETED'] == '1': ?>
- <span class="deleted">No.#{post['id']} eliminado por usuario.</span>
- <?py elif post['IS_DELETED'] == '2': ?>
- <span class="deleted">No.#{post['id']} eliminado por miembro del staff.</span>
- <?py else: ?>
+ <?py if not post['IS_DELETED']: ?>
+ <a name="#{post['id']}"></a>
<div class="info"><label><input type="checkbox" name="delete" value="#{post['id']}" />
<?py if post['subject'] : ?>
<span class="subj">#{post['subject']}</span>