X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalidation.tpl;h=d0135a74133714e71d88c0b4062ebc1350336858;hb=e86e920ff705fa80cc293df02be9e8e26a50884e;hp=970e2f95aeade2b194ccda792aaa46f8256db465;hpb=00ca0ad5370df5be4a0272364fb16a4385ffabfe;p=platal.git
diff --git a/templates/admin/validation.tpl b/templates/admin/validation.tpl
index 970e2f9..d0135a7 100644
--- a/templates/admin/validation.tpl
+++ b/templates/admin/validation.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 *}
@@ -37,7 +37,7 @@ function toggleField(name, id, obj) {
{iterate item=valid from=$vit}
{assign var=type value=$valid->type}
-{if !$hide_requests[$type]}
+{if !t($hide_requests[$type]) && !($valid->requireAdmin && !$isAdmin)}
Demandeur : | - - {$valid->user->fullName()} ({$valid->user->promo()}) + {if $valid->user->hasProfile()} + {assign var="profile" value=$valid->user->profile()} + + {/if} + {$valid->user->fullName("promo")} + {if $valid->user->hasProfile()} + + {/if} + | +
Profil concerné : | ++ + {$valid->profile->fullName("promo")} |
Date de demande : |
@@ -136,7 +151,7 @@ function toggleField(name, id, obj) {
Réponse préremplie :
|