Vouchers page: Show force active state

This commit is contained in:
Igor Scheller 2022-07-20 18:15:18 +02:00
parent bf58ba4a1c
commit 58d9750d0c
2 changed files with 9 additions and 2 deletions

View File

@ -158,7 +158,9 @@ function User_edit_vouchers_view($user)
button(user_link($user->id), icon('chevron-left') . __('back'))
]),
info(sprintf(
__('Angel should receive at least %d vouchers.'),
$user->state->force_active
? __('Angel should receive at least %d vouchers and is FA.')
: __('Angel should receive at least %d vouchers.'),
User_get_eligable_voucher_count($user)
), true),
form(

View File

@ -2538,6 +2538,11 @@ msgstr "Dein Passwort"
msgid "Angel should receive at least %d vouchers."
msgstr "Engel sollte mindestens %d Gutscheine bekommen."
#: includes/view/User_view.php:148
#, php-format
msgid "Angel should receive at least %d vouchers and is FA."
msgstr "Engel sollte mindestens %d Gutscheine bekommen und ist FA."
#: includes/view/User_view.php:153
msgid "Number of vouchers given out"
msgstr "Anzahl Gutscheine bekommen"