closes #877: sequential numbers for arrived angels view

This commit is contained in:
msquare 2022-03-20 18:43:08 +01:00
parent d8076abc38
commit dd6963a2bd
2 changed files with 5 additions and 0 deletions

View File

@ -209,6 +209,7 @@ function admin_active()
$shirtSize = $usr->personalData->shirt_size; $shirtSize = $usr->personalData->shirt_size;
$userData = []; $userData = [];
$userData['no'] = count($matched_users) + 1;
$userData['nick'] = User_Nick_render($usr) . User_Pronoun_render($usr); $userData['nick'] = User_Nick_render($usr) . User_Pronoun_render($usr);
$userData['shirt_size'] = (isset($tshirt_sizes[$shirtSize]) ? $tshirt_sizes[$shirtSize] : ''); $userData['shirt_size'] = (isset($tshirt_sizes[$shirtSize]) ? $tshirt_sizes[$shirtSize] : '');
$userData['work_time'] = round($usr['shift_length'] / 60) $userData['work_time'] = round($usr['shift_length'] / 60)
@ -310,6 +311,7 @@ function admin_active()
]) : $set_active, ]) : $set_active,
$msg . msg(), $msg . msg(),
table([ table([
'no' => __('No.'),
'nick' => __('Nickname'), 'nick' => __('Nickname'),
'shirt_size' => __('Size'), 'shirt_size' => __('Size'),
'shift_count' => __('Shifts'), 'shift_count' => __('Shifts'),

View File

@ -1020,6 +1020,9 @@ msgstr "Nick"
msgid "Size" msgid "Size"
msgstr "Größe" msgstr "Größe"
msgid "No."
msgstr "Nr."
#: includes/pages/admin_active.php:317 includes/pages/user_shifts.php:11 #: includes/pages/admin_active.php:317 includes/pages/user_shifts.php:11
#: includes/sys_menu.php:96 includes/view/AngelTypes_view.php:357 #: includes/sys_menu.php:96 includes/view/AngelTypes_view.php:357
#: includes/view/Rooms_view.php:39 includes/view/User_view.php:641 #: includes/view/Rooms_view.php:39 includes/view/User_view.php:641