X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=b60f662e54c5222034baf8ba794ba85f4ac4bfeb;hb=afe6e01ca6b3e2ba559a26bb5375aa03737c5e12;hp=3a20e9df9dd4811f346b9a417164cc9b9fa2556a;hpb=a8a11a70d5fb7a251c74426400f757486c4c7159;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index 3a20e9d..b60f662 100644 --- a/templates/admin/user.tpl +++ b/templates/admin/user.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -93,8 +93,8 @@ function ban_read() document.forms.bans.read_perm.value = "!xorg.*"; } -$(document).ready(function() { - $('#tabs > ul').tabs(); +$(function() { + $('#tabs').tabs(); $('.ui-tabs-nav li').width('24%') .click(function() { $(this).children('a').click() }); }); @@ -105,12 +105,11 @@ $(document).ready(function() {
-
@@ -138,21 +137,31 @@ $(document).ready(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 @@ -253,7 +262,7 @@ $(document).ready(function() { - + {if $user->state neq 'pending'} @@ -280,7 +289,7 @@ $(document).ready(function() { - {$profile.hrpid} (pid {$profile.pid}) + {$profile.hrpid} (pid {$profile.pid}, ax_id {$profile.ax_id}) {icon name=user_edit} {icon name=user_suit} @@ -343,24 +352,24 @@ $(document).ready(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} - + @@ -382,7 +391,7 @@ $(document).ready(function() { {xsrf_token_field} - @@ -410,23 +419,26 @@ $(document).ready(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 @@ -439,8 +451,8 @@ $(document).ready(function() { Ajouter une adresse - + + @@ -452,7 +464,7 @@ $(document).ready(function() {
+ {if $actives} {/if} @@ -464,7 +476,6 @@ $(document).ready(function() {
-{javascript name="ajax"} {test_email hruid=$user->login()}

Autres adresses de l'utilisateur

@@ -493,7 +504,7 @@ $(document).ready(function() {
- + {foreach from=$virtuals item=virtual} @@ -573,6 +584,7 @@ $(document).ready(function() {
Virtual aliases auquel l'utilisateur appartientAlias de groupe auquel l'utilisateur appartient
+ {/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}