X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=c3b7c64b192c09850c9340ae68abe02eb39ae074;hb=d7de04afa0cfc2166fad9c6643b5af2bdf9fe153;hp=c4d880d9e176d5f7f698e429c9fd1c0b789205b3;hpb=6c21094e45512da7fb1321a1df4335b1d48ed9bd;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index c4d880d..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'} @@ -342,17 +352,17 @@ $(function() { {iterate from=$aliases item=a} - + - {if $a.for_life}{$a.alias}{else}{$a.alias}{/if} + {if $a.forlife}{$a.email}{elseif $a.alias}{$a.email}{else}{$a.email}{/if} {if $a.expire}(expire le {$a.expire|date_format}){/if} - {if $a.for_life} + {if $a.forlife} garanti à vie* {else} - {icon name=cross} + {icon name=cross} {/if} @@ -381,7 +391,7 @@ $(function() { {xsrf_token_field} - @@ -409,23 +419,26 @@ $(function() { + - {if $mail->panne && $mail->panne neq "0000-00-00"} + {if $mail->broken && $mail->broken_date neq "0000-00-00"} - - -
+ Redirections
{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} + {if $mail->type != 'imap'}(niveau {$mail->filter_level} : {$mail->action}){/if} + {if $mail->is_removable()} {icon name=cross} {/if}
+ {icon name=error title="Panne"} - Panne de {$mail->display_email} le {$mail->panne|date_format} - {if $mail->panne neq $mail->last}confirmée le {$mail->last|date_format}{/if} + Panne de {$mail->display_email} le {$mail->broken_date|date_format} + {if $mail->broken_date neq $mail->last}confirmée le {$mail->last|date_format}{/if} effacer les pannes @@ -438,7 +451,7 @@ $(function() { Ajouter une adresse + @@ -451,7 +464,7 @@ $(function() {
+ {if $actives} {/if} @@ -491,7 +504,7 @@ $(function() {
- + {foreach from=$virtuals item=virtual}
Virtual aliases auquel l'utilisateur appartientAlias de groupe auquel l'utilisateur appartient