summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-29 22:07:16 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-29 22:07:16 +0000
commit1268be4f82123a4dc8260f14813d7babb7f5c9f9 (patch)
treedc009a2c2944dbea553baa9b1166af60ed0cebb3
parent5b8e40aaa9bdb0c07cce0cf53cd913b0c397fdc4 (diff)
Using role for admin indicator. Added margin-left.
-rw-r--r--actions/groupmembers.php2
-rw-r--r--theme/base/css/display.css12
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