From 2c9f5dd4e92d73f9a679cb6a05fee7cd90ec5981 Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Fri, 2 Feb 2018 09:23:43 +0300 Subject: [PATCH] Add error message to header if user did not confirm email --- project/templates/lilcity/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index d131533e..53e92395 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -158,6 +158,9 @@ {% endif %} + {% if user.is_authenticated and not user.is_email_proved %} +
Необходимо подтвердить электронную почту
+ {% endif %}
{% block content %}{% endblock content %}