Using role for admin indicator. Added margin-left.

This commit is contained in:
Sarven Capadisli 2009-06-29 22:07:16 +00:00
parent 5b8e40aaa9
commit 1268be4f82
2 changed files with 6 additions and 8 deletions

View File

@ -172,7 +172,7 @@ class GroupMemberListItem extends ProfileListItem
parent::showFullName(); parent::showFullName();
if ($this->profile->isAdmin($this->group)) { if ($this->profile->isAdmin($this->group)) {
$this->out->text(' '); $this->out->text(' ');
$this->out->element('span', 'admin_indicator', _('Admin')); $this->out->element('span', 'role', _('Admin'));
} }
} }

View File

@ -585,13 +585,14 @@ font-weight:normal;
content: ")"; content: ")";
font-weight:normal; font-weight:normal;
} }
.entity_profile dt,
.entity_profile dt {
display:none;
}
.entity_profile h2 { .entity_profile h2 {
display:none; display:none;
} }
.entity_profile .role {
margin-left:11px;
font-style:italic;
}
/* entity_profile */ /* entity_profile */
/*entity_actions*/ /*entity_actions*/
@ -1299,6 +1300,3 @@ display:none;
.guide { .guide {
clear:both; clear:both;
} }
.admin_indicator {
font-style:italic;
}