X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalidation.tpl;h=d0135a74133714e71d88c0b4062ebc1350336858;hb=e86e920ff705fa80cc293df02be9e8e26a50884e;hp=1ac43ffbc77db12006aa4905e847d8c201c0efab;hpb=12ddbc2037b16496dfb9d91c4f7091850146fcde;p=platal.git diff --git a/templates/admin/validation.tpl b/templates/admin/validation.tpl index 1ac43ff..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 !t($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é :