diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index 7b068127..e60e7dab 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -126,10 +126,10 @@
БЛОГ
- {% if user.is_authenticated %} + {% if request.user.is_authenticated %}
- {% if user.photo %} -
+ {% if request.user.photo %} +
{% else %}
{% endif %} @@ -138,7 +138,7 @@
ДОБАВИТЬ КУРС
- +
ПРОФИЛЬ
@@ -158,7 +158,7 @@ {% endif %}
- {% if user.is_authenticated and not user.fb_id or user.is_authenticated and not user.is_email_proved %} + {% if request.user.is_authenticated and not request.user.fb_id or request.user.is_authenticated and not request.user.is_email_proved %}
Необходимо подтвердить электронную почту
{% endif %}