From: Raphaël Barrois Date: Mon, 22 Mar 2010 13:03:43 +0000 (+0100) Subject: Update minifiches for new Profile/Account X-Git-Tag: xorg/1.0.0~332^2~12 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=66955563c53fab6a4730c1e4f51615fafc167d3f;p=platal.git Update minifiches for new Profile/Account Signed-off-by: Raphaël Barrois --- 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}
{$web}
Géographie :{if $address.locality}{$address.locality}, {/if}{$address.country}{if $address->locality}{$address->locality}, {/if}{$address->country}