From 5b8e40aaa9bdb0c07cce0cf53cd913b0c397fdc4 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 29 Jun 2009 10:29:11 -0400 Subject: admin indicators in groups --- actions/groupmembers.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'actions/groupmembers.php') 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(); -- cgit v1.2.3-54-g00ecf