From 66955563c53fab6a4730c1e4f51615fafc167d3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 22 Mar 2010 14:03:43 +0100 Subject: [PATCH] Update minifiches for new Profile/Account MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- templates/include/minifiche.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 33add8f..799c602 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -119,7 +119,7 @@ {assign var=address value=$profile->getMainAddress()} {assign var=web value=$profile->getWebSite()} {assign var=job value=$profile->getMainJob()} - {if $web || $profile->mobile || $address.country || $job || (!$dead && !$registered)} + {if $web || $profile->mobile || $address->country || $job || (!$dead && !$registered)} {if $web} @@ -127,10 +127,10 @@ {/if} - {if $address.country && !$c.dcd} + {if $address->country && !$c.dcd} - + {/if} {if $profile->mobile && !$dead} -- 2.1.4
{$web}
Géographie :{if $address.locality}{$address.locality}, {/if}{$address.country}{if $address->locality}{$address->locality}, {/if}{$address->country}