From: Sarven Capadisli Date: Mon, 29 Jun 2009 22:07:16 +0000 (+0000) Subject: Using role for admin indicator. Added margin-left. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1268be4f82123a4dc8260f14813d7babb7f5c9f9;p=quix0rs-gnu-social.git Using role for admin indicator. Added margin-left. --- diff --git a/actions/groupmembers.php b/actions/groupmembers.php index be7a9e81c7..14256526a0 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 df4e756330..379f2eeac4 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