diff --git a/classes/calendar/calendar.php b/classes/calendar/calendar.php index c0859d1..dc86d47 100644 --- a/classes/calendar/calendar.php +++ b/classes/calendar/calendar.php @@ -98,6 +98,7 @@ class calendar { 'userid' => 0, 'modulename' => '', 'instance' => $outage->id, + 'component' => 'auth_outage', 'eventtype' => 'auth_outage', 'timestart' => $outage->starttime, 'visible' => true, diff --git a/lib.php b/lib.php index d2d2e09..cc95564 100644 --- a/lib.php +++ b/lib.php @@ -65,17 +65,6 @@ function auth_outage_get_climaintenance_resource_file($file) { return ($realpath == false) ? null : $realpath; } -/** - * Display required icon for the calendar events. - * - * @return array - */ -function auth_outage_get_fontawesome_icon_map() { - return [ - 'core:i/auth_outageevent' => 'fa-power-off', - ]; -} - /** * Inject the warning bar into the page if there is currently an outage. * diff --git a/pix/auth_outage.png b/pix/auth_outage.png new file mode 100644 index 0000000..4db9ca2 Binary files /dev/null and b/pix/auth_outage.png differ diff --git a/pix/auth_outage.svg b/pix/auth_outage.svg new file mode 100644 index 0000000..3270b8a --- /dev/null +++ b/pix/auth_outage.svg @@ -0,0 +1 @@ + \ No newline at end of file