]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/groupmembers.php
admin indicators in groups
[quix0rs-gnu-social.git] / actions / groupmembers.php
index d132cdf9670512d5f5083a713726af77b014d90b..be7a9e81c7f9bb69649816db55ddfeb972b35eb8 100644 (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();