From 31b665c67d17251d727709df3720d5f6c142d0fe Mon Sep 17 00:00:00 2001 From: Jacob Burroughs Date: Mon, 19 Apr 2021 16:12:42 -0500 Subject: [PATCH] Add maintenance notice text Change-Id: I1cc9f32fa968b100038cc119a8c677dc65491e4c Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/263191 Reviewed-by: Cody Cutrer Tested-by: Service Cloud Jenkins QA-Review: Jacob Burroughs Product-Review: Jacob Burroughs --- app/views/shared/_maintenance_window.html.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/shared/_maintenance_window.html.erb b/app/views/shared/_maintenance_window.html.erb index 858ea0507f9..ccfc8af1c3a 100644 --- a/app/views/shared/_maintenance_window.html.erb +++ b/app/views/shared/_maintenance_window.html.erb @@ -6,4 +6,7 @@ utc_time_range: time_string(next_window[0], next_window[1], ActiveSupport::TimeZone['UTC']) }) %>
<%= t("Next maintenance at: %{window}", { - window: datetime_string(next_window[0], :verbose, next_window[1], with_weekday: true) }) %> \ No newline at end of file + window: datetime_string(next_window[0], :verbose, next_window[1], with_weekday: true) }) %> +

+<%= Setting.get('global_maintenance_notice', '').html_safe %> +

\ No newline at end of file