From: Florent Bruneau Date: Fri, 21 Dec 2007 20:29:33 +0000 (+0100) Subject: No vcard on profile of dead person (Closes #752) X-Git-Tag: xorg/0.9.16~184 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=5494e94d4617ce1d3427049f4b959d905c6cc1e3;p=platal.git No vcard on profile of dead person (Closes #752) Signed-off-by: Florent Bruneau --- diff --git a/ChangeLog b/ChangeLog index fc2c82f..c4dacd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,7 @@ Bug/Wish: * Profile: - #729: Fix positioning of addresses on public profile -FRU - #742: Sub domain was hidden when editing profile -FRU + - #752: Don't show vcard link on profile when the person is dead -FRU * Search: - #741: Mentor search in advanced search -FRU diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index d255e01..c3c8433 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -62,8 +62,8 @@ function chgMainWinLoc(strPage) {/if} {if $x.web} {icon name="world_go" title="Site Web"}{/if} {if $logged} -  {* - *}{icon name=vcard title="Afficher la carte de visite"} +  {if !$x.dcd}{* + *}{icon name=vcard title="Afficher la carte de visite"}{/if} {if !$x.is_contact} {icon name=add title="Ajouter à mes contacts"}