X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=61696d0d9396fb229761026fe882ac3e3b91c0df;hb=5096676e03dcd626d6e64696cb9d6ee5d8e054da;hp=d9f35b15cf4cbc86b132f1a121c253d2c1c98c0d;hpb=d82359a556779137f8a90d0312b3098a2db6f482;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index d9f35b1..61696d0 100644 --- a/templates/admin/user.tpl +++ b/templates/admin/user.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2011 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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 @@ -279,7 +289,7 @@ $(function() { - {$profile.hrpid} (pid {$profile.pid}) + {$profile.hrpid} (pid {$profile.pid}, ax_id {$profile.ax_id}) {icon name=user_edit} {icon name=user_suit} @@ -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} @@ -577,4 +587,4 @@ $(function() { {/if} -{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}