From d152c7bed047aab4404ee78afa82f4c082305c70 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Tue, 30 Sep 2025 22:08:55 +0800 Subject: [PATCH] MDL-86800 block_completionstatus: Fix incorrect table borders --- blocks/completionstatus/details.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/blocks/completionstatus/details.php b/blocks/completionstatus/details.php index 0007799714c..e00892babe2 100644 --- a/blocks/completionstatus/details.php +++ b/blocks/completionstatus/details.php @@ -79,7 +79,7 @@ echo $OUTPUT->header(); // Display completion status. -echo html_writer::start_tag('table', array('class' => 'generalbox boxaligncenter')); +echo html_writer::start_tag('table', ['class' => 'generalbox table-reboot']); echo html_writer::start_tag('tbody'); // If not display logged in user, show user name. @@ -181,7 +181,12 @@ if (empty($completions)) { // Generate markup for criteria statuses. echo html_writer::start_tag('table', - array('class' => 'generalbox logtable boxaligncenter', 'id' => 'criteriastatus', 'width' => '100%')); + [ + 'class' => 'generalbox logtable table-reboot', + 'id' => 'criteriastatus', + 'width' => '100%', + ] + ); echo html_writer::start_tag('tbody'); echo html_writer::start_tag('tr', array('class' => 'ccheader')); echo html_writer::tag('th', get_string('criteriagroup', 'block_completionstatus'), array('class' => 'c0 header', 'scope' => 'col'));