From 1b56fc22bbb47cd8e55d2c3631c7bdbb809634a7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 29 Oct 2022 19:24:22 +0200 Subject: [PATCH] hide reply buttons on deleted comments and posts for consistency --- files/templates/comments.html | 8 +++++--- files/templates/submission.html | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index aaf8769b1..7252479b6 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -292,8 +292,8 @@ {% endif %} - - {% if v %} + + {% if v and not c.deleted_utc %} {% endif %} @@ -391,7 +391,9 @@ {% if v %} - + {% if not c.deleted_utc %} + + {% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index 277d662a8..8c009a2d7 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -964,7 +964,7 @@ - {% if v %} + {% if v and not p.deleted_utc %}