From 0a4f1ccd7a27c52ea0dd456c62d5de5fdb8d7db4 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Wed, 17 Jul 2013 20:24:44 +0200 Subject: [PATCH] Fix #1353 : hide quota / time and mask restriction when no access is given to the collection --- templates/web/admin/editusers.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/web/admin/editusers.html.twig b/templates/web/admin/editusers.html.twig index 00d429758a..168427b4fb 100644 --- a/templates/web/admin/editusers.html.twig +++ b/templates/web/admin/editusers.html.twig @@ -366,7 +366,7 @@ {{_self.format_checkbox(app['authentication'].getUser(), rights, 'cancmd', users, 'base')}} -
+
{% if rights['restrict_dwnld'] > 0 %} {% else %} @@ -376,7 +376,7 @@
-
+
{% if rights['time_limited'] > 0 %} {% else %} @@ -386,7 +386,7 @@
-
+
{% if rights['masks'] > 0 %} {% else %}