From 7bb56630cb0116a892ce60fb9b54ab4fa27848e0 Mon Sep 17 00:00:00 2001 From: Frederic Date: Wed, 1 May 2019 12:05:57 +0200 Subject: [PATCH] display info about hashed email on profile page --- bam/templates/bam/profile.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bam/templates/bam/profile.html b/bam/templates/bam/profile.html index 6f3bbd5..96fefd8 100644 --- a/bam/templates/bam/profile.html +++ b/bam/templates/bam/profile.html @@ -9,7 +9,7 @@ dd { margin-left: 0px; } - #email-unset { + .profile-value-meta { font-style: italic; } @@ -21,14 +21,20 @@
Username
{{ user.username }}
{% if user.first_name %} +
First name
{{ user.first_name }}
{% endif %} {% if user.last_name %} +
Last name
{{ user.last_name }}
{% endif %} +
Email address
-
{% if user.email %}{{ user.email }}{% else %}unset{% endif %}
+
{% if user.email %}{{ user.email }}{% else %}unset{% endif %}
+ +
Password recovery email address
+
{% if user.account.hashed_email %}✔ configured{% else %}✖ not configured{% endif %}
{% endblock %}