Skip to content

Commit

Permalink
Make sure recurring meeting status is displayed before next occurrenc…
Browse files Browse the repository at this point in the history
…e time.

Co-authored-by: Jonathan Champ <[email protected]>
  • Loading branch information
armccoy and jrchamp authored Sep 13, 2024
1 parent 7818c62 commit d750c05
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions view.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d750c05

Please sign in to comment.