diff --git a/renderer.php b/renderer.php index b6d023a..ebb84d7 100644 --- a/renderer.php +++ b/renderer.php @@ -168,7 +168,7 @@ class auth_outage_renderer extends plugin_renderer_base { * Renders the warning bar. * @param outage $outage The outage to show in the warning bar. * @return string HTML of the warning bar. - * @SuppressWarnings("unused") because $message is used inside require(...) + * @SuppressWarnings("unused") because $countdown is used inside require(...) */ public function renderoutagebar(outage $outage) { global $CFG; @@ -176,7 +176,7 @@ class auth_outage_renderer extends plugin_renderer_base { $start = userdate($outage->starttime, get_string('strftimedatetimeshort')); $stop = userdate($outage->stoptime, get_string('strftimedatetimeshort')); - $message = get_string( + $countdown = get_string( $outage->is_ongoing() ? 'messageoutageongoing' : 'messageoutagewarning', 'auth_outage', ['start' => $start, 'stop' => $stop] diff --git a/views/warningbar.css b/views/warningbar.css index 67a68b6..8258bdd 100644 --- a/views/warningbar.css +++ b/views/warningbar.css @@ -22,7 +22,7 @@ If you need to make chances here, remember to update your settings inside Moodle color: #a00000; } -.auth_outage_warningbar_box_title { +.auth_outage_warningbar_box_countdown { font-size: 200%; font-weight: bold; margin: 10px 0; diff --git a/views/warningbar.php b/views/warningbar.php index 3638823..e41f1d8 100644 --- a/views/warningbar.php +++ b/views/warningbar.php @@ -36,9 +36,9 @@ echo html_writer::tag('style',