X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=16dac4f523414e1f2278a5b2b397183375d16c5a;hb=b9d254dfbec04814a5301ee1f49a3793cf763716;hp=698a549b16dcc018f8b55dae6a39ad3e056c64a5;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git
diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl
index 698a549..16dac4f 100644
--- a/templates/include/minifiche.tpl
+++ b/templates/include/minifiche.tpl
@@ -55,31 +55,34 @@
{if $profile->isFemale()}•{/if}
{if !$dead && $registered}{/if}
- {foreach from=$profile->nationalities() item=nat}
-
+ {foreach from=$profile->nationalities() item=country key=code}
+
{/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}
{if $withAuth}
+ {if $registered || (!$dead && $hasowner)}
+ {/if}
- {if hasPerm('admin') && $hasowner}
+ {if hasPerm('edit_directory')}
+
+ {elseif hasPerm('admin') && $hasowner}