diff --git a/apps/course/templates/course/blocks/comment.html b/apps/course/templates/course/blocks/comment.html index 5e38b70f..1f338358 100644 --- a/apps/course/templates/course/blocks/comment.html +++ b/apps/course/templates/course/blocks/comment.html @@ -19,7 +19,9 @@
{{ node.content }}
+ {% if user.is_authenticated %} + {% endif %}
\ No newline at end of file diff --git a/apps/course/templates/course/course.html b/apps/course/templates/course/course.html index 938e3f03..d4d17581 100644 --- a/apps/course/templates/course/course.html +++ b/apps/course/templates/course/course.html @@ -202,12 +202,16 @@
+ {% if user.is_authenticated %}
В ответ на этот комментарий. Отменить
+ {% else %} +
Только зарегистрированные пользователи могут оставлять комментарии.
+ {% endif %}