LIL-33. Don't show deactivated comments.

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent ff8708ea00
commit 7b7ee5230c
  1. 3
      apps/course/templates/course/blocks/comment.html

@ -1,5 +1,5 @@
{% load static %} {% load static %}
{% if not node.deactivated_at %}
<div id="question__{{ node.id }}" class="questions__item {% if node.is_child_node %}questions__item_reply{% endif %}"> <div id="question__{{ node.id }}" class="questions__item {% if node.is_child_node %}questions__item_reply{% endif %}">
{% if node.author.photo %} {% if node.author.photo %}
<div class="questions__ava ava"> <div class="questions__ava ava">
@ -25,3 +25,4 @@
</div> </div>
</div> </div>
</div> </div>
{% endif %}

Loading…
Cancel
Save