Issue #26 - Added the option to preview how a warning bar will look before and during an outage.

This commit is contained in:
Daniel Thee Roperto committed 2016-09-13 17:26:21 +10:00
1 parent 9cc954961a
commit 92681c7ec4
8 files changed
+176 -32

No files matched your search

+3
View File
@@ -39,6 +39,9 @@ $PAGE->set_title($outage->get_title());
$PAGE->set_heading($outage->get_title());
$PAGE->set_url(new \moodle_url('/auth/outage/info.php'));
// No hooks injecting into this page, do it manually.
outagelib::inject();
echo $OUTPUT->header();
echo outagelib::get_renderer()->renderoutagepage($outage);