X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Finclude%2Fminifiche.tpl;h=0daa537eaf6fd055a6f7934d4c555868c373cd01;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=21fc7453f51397772b6f0df1ecdd3677d451ce0a;hpb=09e54905d120cbd7cc885d0b1f6c0c464eaf1f82;p=platal.git
diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl
index 21fc745..0daa537 100644
--- a/templates/include/minifiche.tpl
+++ b/templates/include/minifiche.tpl
@@ -60,11 +60,11 @@
- {foreach from=$profile->nationalities() item=nat}
-
![{$nat} {$nat}](images/flags/{$nat}.gif)
+ {foreach from=$profile->nationalities() item=country key=code}
+
![{$country} {$code}](images/flags/{$code}.gif)
{/foreach}
{$profile->promo()}{*
- *}{foreach from=$profile->getExtraEducations(4) item=edu}, {display_education edu=$edu profile=$profile}{/foreach}{*
+ *}{foreach from=$profile->getExtraEducations(4) item=edu}, {display_education edu=$edu profile=$profile full=false}{/foreach}{*
*}{if $dead}, {"décédé"|sex:"décédée":$profile} le {$profile->deathdate|date_format}{/if}
@@ -121,7 +121,7 @@
{assign var=address value=$profile->getMainAddress()}
{assign var=web value=$profile->getWebSite()}
{assign var=job value=$profile->getMainJob()}
- {if $web || $profile->mobile || ($address && $address->country) || $job || !$registered}
+ {if $web || $profile->mobile || ($address && $address->country) || $job || !$registered || $user->lost}