mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue #22 - Refactored maintenance_static_page and allowed generate preview page (different location than main template).
This commit is contained in:
@@ -57,6 +57,10 @@ if ($viewbag['admin']) {
|
||||
),
|
||||
get_string('infohidewarning', 'auth_outage')
|
||||
);
|
||||
$adminlinks[] = html_writer::link(
|
||||
new moodle_url('/auth/outage/maintenance.php', ['debug' => '', 'id' => $viewbag['outage']->id]),
|
||||
get_string('infostaticpage', 'auth_outage')
|
||||
);
|
||||
|
||||
$admineditlink = html_writer::link(
|
||||
new moodle_url('/auth/outage/edit.php', ['edit' => $viewbag['outage']->id]),
|
||||
|
||||
Reference in New Issue
Block a user