count confirmed and unconfirmed angels

This commit is contained in:
Philip Häusler 2014-12-26 16:57:58 +01:00
parent 8764be8604
commit 47b52bc3f6
1 changed files with 15 additions and 0 deletions

View File

@ -131,6 +131,21 @@ function AngelType_view($angeltype, $members, $user_angeltype, $admin_user_angel
'actions' => ""
), $coordinators);
}
if (count($members_confirmed) > 0)
$members_confirmed[] = [
'Nick' => _('Sum'),
'DECT' => count($members_confirmed),
'actions' => ''
];
if (count($members_unconfirmed) > 0)
$members_unconfirmed[] = [
'Nick' => _('Sum'),
'DECT' => count($members_unconfirmed),
'actions' => ''
];
$page[] = '<h3>' . _("Members") . '</h3>';
if ($admin_user_angeltypes)
$page[] = buttons(array(