mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue45 - Fixed: Inverted action buttons from planned and history tables.
This commit is contained in:
@@ -66,7 +66,7 @@ class history_table extends base_table {
|
||||
format_time($outage->get_duration_planned()),
|
||||
$finished,
|
||||
$outage->get_title(),
|
||||
$this->set_data_buttons($outage, true),
|
||||
$this->set_data_buttons($outage, false),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ class planned_table extends base_table {
|
||||
userdate($outage->starttime, get_string('datetimeformat', 'auth_outage')),
|
||||
format_time($outage->get_duration_planned()),
|
||||
$title,
|
||||
$this->set_data_buttons($outage, false),
|
||||
$this->set_data_buttons($outage, true),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user