From dd6963a2bdd5a6d2c0f1ea056fd9b120af2a0b15 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 20 Mar 2022 18:43:08 +0100 Subject: [PATCH] closes #877: sequential numbers for arrived angels view --- includes/pages/admin_active.php | 2 ++ resources/lang/de_DE/default.po | 3 +++ 2 files changed, 5 insertions(+) diff --git a/includes/pages/admin_active.php b/includes/pages/admin_active.php index 5a454a87..f4be148e 100644 --- a/includes/pages/admin_active.php +++ b/includes/pages/admin_active.php @@ -209,6 +209,7 @@ function admin_active() $shirtSize = $usr->personalData->shirt_size; $userData = []; + $userData['no'] = count($matched_users) + 1; $userData['nick'] = User_Nick_render($usr) . User_Pronoun_render($usr); $userData['shirt_size'] = (isset($tshirt_sizes[$shirtSize]) ? $tshirt_sizes[$shirtSize] : ''); $userData['work_time'] = round($usr['shift_length'] / 60) @@ -310,6 +311,7 @@ function admin_active() ]) : $set_active, $msg . msg(), table([ + 'no' => __('No.'), 'nick' => __('Nickname'), 'shirt_size' => __('Size'), 'shift_count' => __('Shifts'), diff --git a/resources/lang/de_DE/default.po b/resources/lang/de_DE/default.po index 0576d45c..d76a7f52 100644 --- a/resources/lang/de_DE/default.po +++ b/resources/lang/de_DE/default.po @@ -1020,6 +1020,9 @@ msgstr "Nick" msgid "Size" msgstr "Größe" +msgid "No." +msgstr "Nr." + #: includes/pages/admin_active.php:317 includes/pages/user_shifts.php:11 #: includes/sys_menu.php:96 includes/view/AngelTypes_view.php:357 #: includes/view/Rooms_view.php:39 includes/view/User_view.php:641