X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalidation.tpl;h=d0135a74133714e71d88c0b4062ebc1350336858;hb=afe6e01ca6b3e2ba559a26bb5375aa03737c5e12;hp=8c0cb21673d22b555a4c193a31cd1b3d1b45ebf1;hpb=1285cf5413df654ccac839b9d9a32c4df2cee95a;p=platal.git diff --git a/templates/admin/validation.tpl b/templates/admin/validation.tpl index 8c0cb21..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)}
@@ -51,10 +51,12 @@ function toggleField(name, id, obj) { {/if} {$valid->user->fullName("promo")} + {if $valid->user->hasProfile()} + {/if} - {if $valid->profile && !$valid->userIsProfileOwner} + {if t($valid->profile) && !$valid->userIsProfileOwner}
Profil concerné : @@ -192,7 +194,7 @@ function toggleField(name, id, obj) {
{foreach from=$categories item=type} -
+
{/foreach}