From c3cac1f50290a0225a67d46355298109cf735854 Mon Sep 17 00:00:00 2001 From: Moritz Strohm <strohm@data-quest.de> Date: Wed, 19 Jan 2022 11:41:54 +0000 Subject: [PATCH] fix for BIESt #540 --- app/views/course/members/accepted_list.php | 2 +- app/views/course/members/autor_list.php | 2 +- app/views/course/members/awaiting_list.php | 2 +- app/views/course/members/tutor_list.php | 2 +- app/views/course/members/user_list.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/course/members/accepted_list.php b/app/views/course/members/accepted_list.php index 1d053c2c857..c25c7c1905b 100644 --- a/app/views/course/members/accepted_list.php +++ b/app/views/course/members/accepted_list.php @@ -76,7 +76,7 @@ <tr> <? if (!$is_locked) : ?> <td> - <input aria-label="<?= sprintf(_('%s auswählen'), _('Vorläufig akzeptierte/n NutzerIn')) ?>" + <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>" type="checkbox" name="accepted[<?= $accept['user_id'] ?>]" value="1" <? if (isset($flash['checked']) && in_array($accept['user_id'], $flash['checked'])) echo 'checked'; ?>> </td> diff --git a/app/views/course/members/autor_list.php b/app/views/course/members/autor_list.php index 056477d4ac1..6d8e8da493c 100644 --- a/app/views/course/members/autor_list.php +++ b/app/views/course/members/autor_list.php @@ -87,7 +87,7 @@ <tr> <? if ($is_tutor && !$is_locked) : ?> <td> - <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($status_groups['autor'])) ?>" + <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>" type="checkbox" name="autor[<?= $autor['user_id'] ?>]" value="1" <? if (isset($flash['checked']) && in_array($autor['user_id'], $flash['checked'])) echo 'checked'; ?>> </td> diff --git a/app/views/course/members/awaiting_list.php b/app/views/course/members/awaiting_list.php index 05c04723c6a..6ac535cd0b8 100644 --- a/app/views/course/members/awaiting_list.php +++ b/app/views/course/members/awaiting_list.php @@ -74,7 +74,7 @@ <tr> <? if (!$is_locked) : ?> <td> - <input aria-label="<?= _('NutzerIn auswählen') ?>" type="checkbox" + <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>" type="checkbox" name="awaiting[<?= htmlReady($waiting['user_id']) ?>]" value="1" <? if (isset($flash['checked']) && in_array($waiting['user_id'], $flash['checked'])) echo 'checked'; ?>> </td> diff --git a/app/views/course/members/tutor_list.php b/app/views/course/members/tutor_list.php index f11f9718244..b14674a7118 100644 --- a/app/views/course/members/tutor_list.php +++ b/app/views/course/members/tutor_list.php @@ -82,7 +82,7 @@ <tr> <? if ($is_dozent && !$tutor_is_locked): ?> <td> - <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($status_groups['tutor'])) ?>" + <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>" type="checkbox" name="tutor[<?= $tutor['user_id'] ?>]" value="1" <? if (isset($flash['checked']) && in_array($tutor['user_id'], $flash['checked'])) echo 'checked'; ?>> </td> diff --git a/app/views/course/members/user_list.php b/app/views/course/members/user_list.php index 675ca294402..c9bb48deddb 100644 --- a/app/views/course/members/user_list.php +++ b/app/views/course/members/user_list.php @@ -82,7 +82,7 @@ <tr> <? if($is_tutor) :?> <td> - <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($status_groups['user'])) ?>" + <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>" type="checkbox" name="user[<?= $leser['user_id'] ?>]" value="1" <? if (isset($flash['checked']) && in_array($leser['user_id'], $flash['checked'])) echo 'checked'; ?>> </td> -- GitLab