X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=c3b7c64b192c09850c9340ae68abe02eb39ae074;hb=3ae529c954030ebfa22c49513746a940d3c0c84f;hp=376191b896ba283f1b6039b0ee996581c571fa64;hpb=a43cdc7aab599efc9ebc698e91c131d3a40d6bee;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index 376191b..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,24 +352,24 @@ $(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} {/iterate} - + @@ -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,8 +451,8 @@ $(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