projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae1c10
)
Only display link to referent page on private view.
author
Stéphane Jacob
<sj@m4x.org>
Wed, 11 May 2011 08:55:05 +0000
(10:55 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Wed, 11 May 2011 08:55:05 +0000
(10:55 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/profile/profile.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/profile/profile.tpl
b/templates/profile/profile.tpl
index
bb33904
..
823f592
100644
(file)
--- 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}
[<a href="referent/{$profile->hrid()}" class='popup2'>Ma fiche référent</a>]
{/if}