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;
}
function showFullName()
{
parent::showFullName();
if ($this->profile->isAdmin($this->group)) {
$this->out->text(' ');
$this->out->element('span', 'admin_indicator', _('Admin'));
}
}
function showActions()
{
$this->startActions();

View File

@ -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;
}