X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=c3b7c64b192c09850c9340ae68abe02eb39ae074;hb=f9a8c549deebf96792c3ba423e01545dc7caf95b;hp=1d478a3af42687e41473c108d0274d2e30ddb92e;hpb=45ea6160465aeba0aa780e49c12272819dedffd1;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index 1d478a3..c3b7c64 100644 --- a/templates/admin/user.tpl +++ b/templates/admin/user.tpl @@ -137,21 +137,31 @@ $(function() { - Nom complet
- Prénom NOM - - {if $hasProfile}{$user->fullName()}{else}{/if} + Nom complet + {$user->fullName()} - Nom annuaire
- NOM Prénom - - {if $hasProfile}{$user->directoryName()}{else}{/if} + Nom annuaire + {$user->directoryName()} + {if !$hasProfile} + + Nom + + + {if $user->type neq 'virtual'} + + Prénom + + + {/if} + {/if} + {if $user->type neq 'virtual'} Nom affiché {if $hasProfile}{$user->displayName()}{else}{/if} + {/if} Sexe @@ -252,7 +262,7 @@ $(function() { - + {if $user->state neq 'pending'} @@ -409,9 +419,9 @@ $(function() { {if $mail->broken}{/if} - {if $mail->email == 'googleapps'}{/if} + {if $mail->type == 'googleapps'}{/if} {$mail->display_email} - {if $mail->email == 'googleapps'}{/if} + {if $mail->type == 'googleapps'}{/if} {if $mail->broken} (en panne){/if}