From 1268be4f82123a4dc8260f14813d7babb7f5c9f9 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Mon, 29 Jun 2009 22:07:16 +0000 Subject: Using role for admin indicator. Added margin-left. --- actions/groupmembers.php | 2 +- theme/base/css/display.css | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/actions/groupmembers.php b/actions/groupmembers.php index be7a9e81c..14256526a 100644 --- a/actions/groupmembers.php +++ b/actions/groupmembers.php @@ -172,7 +172,7 @@ class GroupMemberListItem extends ProfileListItem parent::showFullName(); if ($this->profile->isAdmin($this->group)) { $this->out->text(' '); - $this->out->element('span', 'admin_indicator', _('Admin')); + $this->out->element('span', 'role', _('Admin')); } } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index df4e75633..379f2eeac 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -585,13 +585,14 @@ font-weight:normal; content: ")"; font-weight:normal; } - -.entity_profile dt { -display:none; -} +.entity_profile dt, .entity_profile h2 { display:none; } +.entity_profile .role { +margin-left:11px; +font-style:italic; +} /* entity_profile */ /*entity_actions*/ @@ -1299,6 +1300,3 @@ display:none; .guide { clear:both; } -.admin_indicator { -font-style:italic; -} \ No newline at end of file -- cgit v1.2.3-54-g00ecf