Issue45 - Fixed: Inverted action buttons from planned and history tables.

This commit is contained in:
Daniel Thee Roperto
2016-09-22 18:06:50 +10:00
parent 5df01b342e
commit 80ed7b69ad
2 changed files with 2 additions and 2 deletions

View File

@@ -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),
]);
}
}

View File

@@ -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),
]);
}
}