From 7b7ee5230caa4e76a2dd8687d8bd26e8452c099f Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Mon, 12 Mar 2018 13:11:41 +0300 Subject: [PATCH] LIL-33. Don't show deactivated comments. --- apps/course/templates/course/blocks/comment.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/course/templates/course/blocks/comment.html b/apps/course/templates/course/blocks/comment.html index 1f338358..463536af 100644 --- a/apps/course/templates/course/blocks/comment.html +++ b/apps/course/templates/course/blocks/comment.html @@ -1,5 +1,5 @@ {% load static %} - +{% if not node.deactivated_at %}
{% if node.author.photo %}
@@ -24,4 +24,5 @@ {% endif %}
- \ No newline at end of file + +{% endif %}