X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.tpl;h=8a04c6669c4192c35444f7fb0c58dd27936e76ee;hb=26198a046518a4993e9e1ae470ba72c8db6b0543;hp=22fb6531a7d04541c58b332b503e0db38dfc478f;hpb=673e56aa757fce4ea57c27ab2c0d5ce87d713e51;p=platal.git diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 22fb653..8a04c66 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -152,7 +152,7 @@ Date de naissance de référence - {if $birthdate_ref eq 0} + {if hasPerm('admin') && !$is_registered} {else} {$birthdate_ref} @@ -209,7 +209,7 @@ Promotion : - {$main_edu.promo_year} + {if t($main_edu.promo_year)}{$main_edu.promo_year}{/if} Domaine de formation :