From 661e5595c4f5844cec94f4fb304c16650fa3b211 Mon Sep 17 00:00:00 2001 From: tike Date: Fri, 5 Feb 2016 22:57:57 +0100 Subject: issue #242 - make app caluclate number of vouchers for angels --- includes/view/User_view.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes/view') diff --git a/includes/view/User_view.php b/includes/view/User_view.php index 09668d6f..dbdc617b 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -45,8 +45,10 @@ function User_edit_vouchers_view($user) { buttons([ button(user_link($user), glyph('chevron-left') . _("back")) ]), + heading(sprintf(_("angel should receive at least %d vouchers."), User_get_eligable_voucher_count($user)), 3), + heading(_("This is a automatically calculated MINIMUM value, you can of course give out more if appropriate!"), 4), form([ - form_spinner('vouchers', _("Number of vouchers"), $user['got_voucher']), + form_spinner('vouchers', _("Number of vouchers given out"), $user['got_voucher']), form_submit('submit', _("Save")) ], page_link_to('users') . '&action=edit_vouchers&user_id=' . $user['UID']) ]); -- cgit v1.2.3-70-g09d2