diff options
author | tike <timflex@gmx.de> | 2016-02-05 22:57:57 +0100 |
---|---|---|
committer | tike <timflex@gmx.de> | 2016-02-07 13:00:28 +0100 |
commit | 661e5595c4f5844cec94f4fb304c16650fa3b211 (patch) | |
tree | a58f8ed4dc700d16d2165e474f51694d8bce4352 /includes/view | |
parent | 1da3cba5a70328780a362af0ec06e9f6a689562a (diff) |
issue #242 - make app caluclate number of vouchers for angels
Diffstat (limited to 'includes/view')
-rw-r--r-- | includes/view/User_view.php | 4 |
1 files changed, 3 insertions, 1 deletions
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']) ]); |