X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=b60f662e54c5222034baf8ba794ba85f4ac4bfeb;hb=afe6e01ca6b3e2ba559a26bb5375aa03737c5e12;hp=7fc1b6a2705df9dbc567b2d313c51ca6d33194b6;hpb=3232ad9bdf1be89006305b0bcb44b26fb65ca3b0;p=platal.git
diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl
index 7fc1b6a..b60f662 100644
--- a/templates/admin/user.tpl
+++ b/templates/admin/user.tpl
@@ -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() });
@@ -137,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 |
@@ -252,7 +262,7 @@ $(document).ready(function() {
|
-
+
{if $user->state neq 'pending'}
@@ -279,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}
@@ -342,17 +352,17 @@ $(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}
@@ -381,7 +391,7 @@ $(document).ready(function() {
{xsrf_token_field}