From: Thomas Minvielle Date: Thu, 25 Jul 2013 07:23:17 +0000 (+0200) Subject: Doesn't show twice the virtuel alias when it is public and best email. X-Git-Tag: xorg/1.1.9~19 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a9d138896fd49213430deb52139506720384a746;p=platal.git Doesn't show twice the virtuel alias when it is public and best email. --- 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()}