From d750c05c576c44780e65fd24bc1a1396cad90760 Mon Sep 17 00:00:00 2001 From: Alan McCoy Date: Fri, 13 Sep 2024 10:43:50 -0400 Subject: [PATCH] Make sure recurring meeting status is displayed before next occurrence time. Co-authored-by: Jonathan Champ --- view.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/view.php b/view.php index f96ce74d..755bf7e5 100755 --- a/view.php +++ b/view.php @@ -267,8 +267,15 @@ $meetingtimeheader->text = get_string('recurringmeeting', 'mod_zoom'); $meetingtimetext->text = get_string('recurringmeetingexplanation', 'mod_zoom'); } else if ($zoom->recurring && $zoom->recurrence_type != ZOOM_RECURRINGTYPE_NOTIME) { - $meetingtimeheader->text = get_string('recurringmeeting', 'mod_zoom'); - $meetingtimetext->text = get_string('recurringmeetingthisis', 'mod_zoom'); + $meetingrecurringheader = new html_table_cell(); + $meetingrecurringheader->header = true; + $meetingrecurringheader->text = get_string('recurringmeeting', 'mod_zoom'); + $meetingrecurringtext = new html_table_cell(); + $meetingrecurringtext->text = get_string('recurringmeetingthisis', 'mod_zoom'); + $rowmeetingrecurring = new html_table_row(); + $rowmeetingrecurring ->id = 'zoom_schedule-meetingrecurring'; + $rowmeetingrecurring->cells = [$meetingrecurringheader, $meetingrecurringtext]; + $table->data[] = $rowmeetingrecurring; $nextoccurrence = zoom_get_next_occurrence($zoom); $meetingtimeheader->text = get_string('nextoccurrence', 'mod_zoom'); if ($nextoccurrence > 0) {