From 7cb3a772ed3a42c1182cd97e65c8b614cfb24b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Fri, 26 Dec 2014 01:56:16 +0100 Subject: [PATCH] integrate vouche into user state --- includes/view/User_view.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/view/User_view.php b/includes/view/User_view.php index 52e7a2dc..0c395888 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -175,6 +175,7 @@ function User_view($user_source, $admin_user_privilege, $freeloader, $user_angel ($admin_user_privilege && $freeloader) ? ' ' . _("Freeloader") . '
' : '', $user_source['Gekommen'] ? User_shift_state_render($user_source) . '
' : '', ($user_source['Gekommen'] ? ' ' . _("Arrived") . '' : '' . _("Not arrived") . ''), + ($user_source['got_voucher'] && $admin_user_privilege) ? '
' . glyph('cutlery') . _("Got vouchers") . '' : '
' . _("Got no vouchers") . '', ($user_source['Gekommen'] && $admin_user_privilege && $user_source['Aktiv']) ? ' ' . _("Active") . '' : '', ($user_source['Gekommen'] && $admin_user_privilege && $user_source['Tshirt']) ? ' ' . _("T-Shirt") . '' : '' )),