From 75cf17d0d66af81ef9f2c0d742114ffa27c31861 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 15 May 2009 01:25:11 +0000 Subject: Make denied links not clickable at the root level when the permission is already denied. Ie, at the root level you can't click the item to reset because there's no permission to inherit from, so denied is now just a non-actionable status. --- core/views/permissions_form.html.php | 53 ++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 29 deletions(-) (limited to 'core') diff --git a/core/views/permissions_form.html.php b/core/views/permissions_form.html.php index 81d8cb7c..3dbd0d98 100644 --- a/core/views/permissions_form.html.php +++ b/core/views/permissions_form.html.php @@ -52,42 +52,37 @@ - + - - <?= t('inactive allowed icon') ?> - - - <?= t('denied icon') ?> - - - - - id == 1): ?> - - - <?= t('allowed icon') ?> - - - <?= t('inactive denied icon') ?> + + <?= t('inactive allowed icon') ?> + + id == 1): ?> + <?= t('denied icon') ?> + + + <?= t('denied icon') ?> - - - + + + + + id == 1): ?> + <?= t('allowed icon') ?> + <?= t('allowed icon') ?> - - <?= t('inactive denied icon') ?> - - - + + + <?= t('inactive denied icon') ?> + + -- cgit v1.2.3