From: Stéphane Jacob Date: Wed, 11 May 2011 08:55:05 +0000 (+0200) Subject: Only display link to referent page on private view. X-Git-Tag: xorg/1.1.2~97 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=d64a5ccada1bac081eb1e55faae4931e5380f3e3;p=platal.git Only display link to referent page on private view. Signed-off-by: Stéphane Jacob --- diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index bb33904..823f592 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -172,7 +172,7 @@ $($.closeOnEsc); {$profile->promo('details')} - {if $logged && $profile->mentor_expertise} + {if $logged && $view eq 'private' && $profile->mentor_expertise} [Ma fiche référent] {/if}