From 77902a76cb3437e11a21e700d94c341d4d5194cf Mon Sep 17 00:00:00 2001 From: Irina Hoppe Date: Wed, 10 Jan 2024 10:37:28 +0100 Subject: [PATCH] fixed requested changes --- renderer.php | 2 +- styles.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/renderer.php b/renderer.php index ec2ca01a..eda26d6f 100644 --- a/renderer.php +++ b/renderer.php @@ -855,7 +855,7 @@ public function statistics_table_for_ratingallocate(ratingallocate $ratingalloca 'notrated' => $notrated, 'rated' => $activeraters, 'rating' => $titles[max(array_keys($distributiondata))], - 'unassigned' => count($usersinchoice) - count($memberships)))); + 'unassigned' => count($ratingallocate->get_undistributed_users())))); $output .= html_writer::table($allocationtable); } $output .= $this->box_end(); diff --git a/styles.css b/styles.css index fc57e615..1185abd1 100644 --- a/styles.css +++ b/styles.css @@ -139,5 +139,4 @@ .ratingallocate_front_page_buttons { margin: auto; - width: fit-content; -} \ No newline at end of file +}