From 1d6466249fd83d61a4cc2dea6f968efa12a184d7 Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Thu, 27 Feb 2014 12:44:38 +0100 Subject: [PATCH] Make use of the new possibilies to style group permissions. --- templates/2k11/admin/groups.inc.tpl | 5 ++--- templates/2k11/admin/style.css | 7 +++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/templates/2k11/admin/groups.inc.tpl b/templates/2k11/admin/groups.inc.tpl index 4a7fe1f3..fe780254 100644 --- a/templates/2k11/admin/groups.inc.tpl +++ b/templates/2k11/admin/groups.inc.tpl @@ -76,12 +76,11 @@ {/if}
  • {if !$perm.permission} -
    - {$perm.permission_name|escape:"html"}: {(isset($from.{$perm@key}) && $from.{$perm@key} == "true") ? $CONST.YES : $CONST.NO}
    +
    [{$perm.permission_name|escape:"html"}]: {(isset($from.{$perm@key}) && $from.{$perm@key} == "true") ? $CONST.YES : $CONST.NO}
    {else}
    - +
    {/if} {/foreach} diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index 6d645121..5c22a682 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -1792,6 +1792,13 @@ form > .button_link:first-of-type, text-decoration: none; } +.perm_name { + color: #888; + font-family: monospace, serif; + font-size: .875em; + font-style: normal; +} + /* FOOTER ----------------------------------------------------------------- */