summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-29 10:29:11 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-06-29 10:29:11 -0400
commit5b8e40aaa9bdb0c07cce0cf53cd913b0c397fdc4 (patch)
tree4e6027d96f5ca74a327cada67e56e680d21b126a
parentd03b8c4276e5bd3822289a8b5c94be60cb90ef75 (diff)
admin indicators in groups
-rw-r--r--actions/groupmembers.php9
-rw-r--r--theme/base/css/display.css18
2 files changed, 12 insertions, 15 deletions
diff --git a/actions/groupmembers.php b/actions/groupmembers.php
index d132cdf96..be7a9e81c 100644
--- a/actions/groupmembers.php
+++ b/actions/groupmembers.php
@@ -167,6 +167,15 @@ class GroupMemberListItem extends ProfileListItem
$this->group = $group;
}
+ function showFullName()
+ {
+ parent::showFullName();
+ if ($this->profile->isAdmin($this->group)) {
+ $this->out->text(' ');
+ $this->out->element('span', 'admin_indicator', _('Admin'));
+ }
+ }
+
function showActions()
{
$this->startActions();
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 78fcd7ece..df4e75633 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -206,7 +206,6 @@ border-radius:4px;
padding:0 7px;
}
-
.form_settings input.form_action-primary {
padding:0;
}
@@ -270,7 +269,6 @@ clear:both;
margin-bottom:18px;
}
-
#anon_notice {
float:left;
width:43.2%;
@@ -285,7 +283,6 @@ font-size:1.1em;
font-weight:bold;
}
-
#footer {
float:left;
width:64%;
@@ -597,7 +594,6 @@ display:none;
}
/* entity_profile */
-
/*entity_actions*/
.entity_actions {
float:right;
@@ -726,7 +722,6 @@ margin-bottom:0;
min-height:60px;
}
-
.profile .form_group_join legend,
.profile .form_group_leave legend,
.profile .form_user_subscribe legend,
@@ -761,13 +756,11 @@ display:inline;
margin-right:11px;
}
-
.profile .entity_profile .form_subscription_edit label {
font-weight:normal;
margin-right:11px;
}
-
/* NOTICE */
.notice,
.profile {
@@ -790,7 +783,6 @@ width:95%;
float:left;
}
-
/* NOTICES */
#notices_primary {
float:left;
@@ -962,7 +954,6 @@ border:0;
padding:0;
}
-
.notice .attachment {
position:relative;
padding-left:16px;
@@ -1059,7 +1050,6 @@ margin-bottom:18px;
padding-left:20px;
}
-
#filter_tags {
margin-bottom:11px;
float:left;
@@ -1105,8 +1095,6 @@ top:3px;
left:3px;
}
-
-
.pagination {
float:left;
clear:both;
@@ -1152,7 +1140,6 @@ padding-right:30px;
}
/* END: NOTICE */
-
.hentry .entry-content p {
margin-bottom:18px;
}
@@ -1169,7 +1156,6 @@ margin-bottom:18px;
margin-left:18px;
}
-
/* TOP_POSTERS */
.section tbody td {
padding-right:18px;
@@ -1197,7 +1183,6 @@ margin-right:0;
display:none;
}
-
/* tagcloud */
.tag-cloud {
list-style-type:none;
@@ -1314,3 +1299,6 @@ display:none;
.guide {
clear:both;
}
+.admin_indicator {
+font-style:italic;
+} \ No newline at end of file