From 12d81199bcedf811b280de781b9dac2a126ab8ea Mon Sep 17 00:00:00 2001 From: Ian James Date: Mon, 22 Mar 2021 16:21:17 +0000 Subject: [PATCH] Update schedule maintenance error page --- app/controllers/root_controller.rb | 1 + app/views/root/scheduled_maintenance.html.erb | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb index 4616df513..eff1350e7 100644 --- a/app/controllers/root_controller.rb +++ b/app/controllers/root_controller.rb @@ -23,6 +23,7 @@ class RootController < ApplicationController 503 504 campaign + scheduled_maintenance print proposition_menu ].freeze diff --git a/app/views/root/scheduled_maintenance.html.erb b/app/views/root/scheduled_maintenance.html.erb index d7d8fc611..f81baf468 100644 --- a/app/views/root/scheduled_maintenance.html.erb +++ b/app/views/root/scheduled_maintenance.html.erb @@ -2,12 +2,12 @@ # This view is fetched by Puppet so that the loadbalancer can serve a nice # error when it's put into maintenance mode (to switch off the backend). %> -<%= render partial: 'error_page', locals: { +<%= render partial: "error_page", locals: { status_code: 503, - title: 'Scheduled maintenance', - heading: 'GOV.UK publishing tools are currently unavailable due to scheduled maintenance', - intro: '

Contact the GOV.UK lead (Single Point Of Contact) for your department or agency if you need to publish something in an emergency.

+ title: "Scheduled maintenance", + heading: "GOV.UK publishing tools are currently unavailable due to scheduled maintenance", + intro: "

Contact the GOV.UK lead (Single Point Of Contact) for your department or agency if you need to publish something in an emergency.

-

The GOV.UK status page has more information about the scheduled maintenance.

', +

The GOV.UK status page has more information about the scheduled maintenance.

", } %>