X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=c3b7c64b192c09850c9340ae68abe02eb39ae074;hb=f9a8c549deebf96792c3ba423e01545dc7caf95b;hp=6a27fd478706d29b21a6e03f3ea571df61aca451;hpb=d30b83fa903a8a6f7b88df287884ed80cffff277;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index 6a27fd4..c3b7c64 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,7 +93,7 @@ function ban_read() document.forms.bans.read_perm.value = "!xorg.*"; } -$(document).ready(function() { +$(function() { $('#tabs').tabs(); $('.ui-tabs-nav li').width('24%') .click(function() { $(this).children('a').click() }); @@ -110,7 +110,6 @@ $(document).ready(function() {
  • OpenID
  • Forums
  • -
    @@ -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'} @@ -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} @@ -492,7 +504,7 @@ $(document).ready(function() {
    - + {foreach from=$virtuals item=virtual} @@ -572,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: *}