X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fadmin%2Fvalidation.tpl;h=b043382f5323a0853c5623512bf32bba474e8ce6;hb=c52be69950d31821a8a091f08ad9170e1042eaf8;hp=8c0cb21673d22b555a4c193a31cd1b3d1b45ebf1;hpb=7c4ae1c3d38d458ac3b6dea25ca76ebdd2c0ecd8;p=platal.git
diff --git a/templates/admin/validation.tpl b/templates/admin/validation.tpl
index 8c0cb21..b043382 100644
--- a/templates/admin/validation.tpl
+++ b/templates/admin/validation.tpl
@@ -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)}