diff --git a/includes/view/User_view.php b/includes/view/User_view.php index 0c395888..4fbf8284 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -175,7 +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") . '', + $admin_user_privilege ? ($user_source['got_voucher'] ? '
' . 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") . '' : '' )),