From 5494e94d4617ce1d3427049f4b959d905c6cc1e3 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 21 Dec 2007 21:29:33 +0100 Subject: [PATCH] No vcard on profile of dead person (Closes #752) Signed-off-by: Florent Bruneau --- ChangeLog | 1 + templates/profile/profile.tpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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"} -- 2.1.4