From 2c69801d6f1b38fb851de1c59e7a955a4697aeb8 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 14 Nov 2016 15:46:12 +0100 Subject: [PATCH] Fix person email display (fix #395) --- 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 84928c8e..2623982a 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' %} : {% if not person.email %}{{ person_email }}{% else %}{{ person.email|unspam }}{% endif %}

+ {% if not person.email and person.activities.all and person.teams %}

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

{% elif person.email %}

{% trans 'Email' %} : {{ person.email|unspam }}

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