summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-26 16:57:58 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-26 16:57:58 +0100
commit47b52bc3f6a3b9fea86c46dbef34c2315c278b97 (patch)
tree03fca338ed2d13de67306761e046b8c2ca55676a
parent8764be8604f1180116dd285104de7cd547cd024f (diff)
count confirmed and unconfirmed angels
-rw-r--r--includes/view/AngelTypes_view.php15
1 files changed, 15 insertions, 0 deletions
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[] = '<h3>' . _("Members") . '</h3>';
if ($admin_user_angeltypes)
$page[] = buttons(array(