From a9d138896fd49213430deb52139506720384a746 Mon Sep 17 00:00:00 2001 From: Thomas Minvielle Date: Thu, 25 Jul 2013 09:23:17 +0200 Subject: [PATCH] Doesn't show twice the virtuel alias when it is public and best email. --- templates/profile/profile.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index dba31fd..6885d92 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -147,7 +147,7 @@ $($.closeOnEsc); Cette personne n'est pas inscrite à Polytechnique.org,
clique ici si tu connais son adresse email ! {else} - {if $virtualalias && $view->isVisible(#Visibility::EXPORT_PRIVATE#)} + {if $virtualalias && $view->isVisible(#Visibility::EXPORT_PRIVATE#) && $virtualalias neq $owner->bestEmail()} {$virtualalias}
{/if} {$owner->bestEmail()} -- 2.1.4