From 47b52bc3f6a3b9fea86c46dbef34c2315c278b97 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Fri, 26 Dec 2014 16:57:58 +0100 Subject: count confirmed and unconfirmed angels --- includes/view/AngelTypes_view.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'includes') diff --git a/includes/view/AngelTypes_view.php b/includes/view/AngelTypes_view.php index 78563c0b..697c750f 100644 --- a/includes/view/AngelTypes_view.php +++ b/includes/view/AngelTypes_view.php @@ -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[] = '

' . _("Members") . '

'; if ($admin_user_angeltypes) $page[] = buttons(array( -- cgit v1.2.3-70-g09d2