From 73b11a3e93596778fb23a95e4df8b3fe30f1c46c Mon Sep 17 00:00:00 2001 From: Jean-Romain Garnier Date: Fri, 17 Apr 2020 18:16:53 +0200 Subject: [PATCH] Make check of pending email confirmation cleaner in profile.html --- users/templates/users/profil.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index c5347dcb..82feb8e6 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -200,7 +200,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% trans "Email address" %}
-
{{ users.email }}{% if users.email_change_date is not None %}
{% trans "Pending confirmation..." %}{% endif %}
+
{{ users.email }}{% if users.email_state != users.EMAIL_STATE_VERIFIED %}
{% trans "Pending confirmation..." %}{% endif %}