admin indicators in groups

This commit is contained in:
Evan Prodromou 2009-06-29 10:29:11 -04:00
parent d03b8c4276
commit 5b8e40aaa9
2 changed files with 12 additions and 15 deletions

View File

@ -167,6 +167,15 @@ class GroupMemberListItem extends ProfileListItem
$this->group = $group; $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() function showActions()
{ {
$this->startActions(); $this->startActions();

View File

@ -206,7 +206,6 @@ border-radius:4px;
padding:0 7px; padding:0 7px;
} }
.form_settings input.form_action-primary { .form_settings input.form_action-primary {
padding:0; padding:0;
} }
@ -270,7 +269,6 @@ clear:both;
margin-bottom:18px; margin-bottom:18px;
} }
#anon_notice { #anon_notice {
float:left; float:left;
width:43.2%; width:43.2%;
@ -285,7 +283,6 @@ font-size:1.1em;
font-weight:bold; font-weight:bold;
} }
#footer { #footer {
float:left; float:left;
width:64%; width:64%;
@ -597,7 +594,6 @@ display:none;
} }
/* entity_profile */ /* entity_profile */
/*entity_actions*/ /*entity_actions*/
.entity_actions { .entity_actions {
float:right; float:right;
@ -726,7 +722,6 @@ margin-bottom:0;
min-height:60px; min-height:60px;
} }
.profile .form_group_join legend, .profile .form_group_join legend,
.profile .form_group_leave legend, .profile .form_group_leave legend,
.profile .form_user_subscribe legend, .profile .form_user_subscribe legend,
@ -761,13 +756,11 @@ display:inline;
margin-right:11px; margin-right:11px;
} }
.profile .entity_profile .form_subscription_edit label { .profile .entity_profile .form_subscription_edit label {
font-weight:normal; font-weight:normal;
margin-right:11px; margin-right:11px;
} }
/* NOTICE */ /* NOTICE */
.notice, .notice,
.profile { .profile {
@ -790,7 +783,6 @@ width:95%;
float:left; float:left;
} }
/* NOTICES */ /* NOTICES */
#notices_primary { #notices_primary {
float:left; float:left;
@ -962,7 +954,6 @@ border:0;
padding:0; padding:0;
} }
.notice .attachment { .notice .attachment {
position:relative; position:relative;
padding-left:16px; padding-left:16px;
@ -1059,7 +1050,6 @@ margin-bottom:18px;
padding-left:20px; padding-left:20px;
} }
#filter_tags { #filter_tags {
margin-bottom:11px; margin-bottom:11px;
float:left; float:left;
@ -1105,8 +1095,6 @@ top:3px;
left:3px; left:3px;
} }
.pagination { .pagination {
float:left; float:left;
clear:both; clear:both;
@ -1152,7 +1140,6 @@ padding-right:30px;
} }
/* END: NOTICE */ /* END: NOTICE */
.hentry .entry-content p { .hentry .entry-content p {
margin-bottom:18px; margin-bottom:18px;
} }
@ -1169,7 +1156,6 @@ margin-bottom:18px;
margin-left:18px; margin-left:18px;
} }
/* TOP_POSTERS */ /* TOP_POSTERS */
.section tbody td { .section tbody td {
padding-right:18px; padding-right:18px;
@ -1197,7 +1183,6 @@ margin-right:0;
display:none; display:none;
} }
/* tagcloud */ /* tagcloud */
.tag-cloud { .tag-cloud {
list-style-type:none; list-style-type:none;
@ -1314,3 +1299,6 @@ display:none;
.guide { .guide {
clear:both; clear:both;
} }
.admin_indicator {
font-style:italic;
}