From fb45cb1cd2523c60d81bdf6c9d8d8fd4d7ae5c2e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 9 Nov 2016 16:38:43 +0100 Subject: [PATCH] Fix email --- app/templates/network/person_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/network/person_detail.html b/app/templates/network/person_detail.html index 1cb88b2a..7c938fe1 100644 --- a/app/templates/network/person_detail.html +++ b/app/templates/network/person_detail.html @@ -31,7 +31,7 @@ {{ person.bio|richtext_filters|safe }} {% endeditable %} -

{% trans 'Email' %} : {{ person_email }}

+

{% trans 'Email' %} : {% if not person.email %}{{ person_email }}{% else %}{{ person.email }}{% endif %}

{% with person.activities.all as activities %} {% if activities %} -- 2.39.5