From d64a5ccada1bac081eb1e55faae4931e5380f3e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Wed, 11 May 2011 10:55:05 +0200 Subject: [PATCH] Only display link to referent page on private view. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- 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 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} -- 2.1.4