-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #743 from alphagov/add-scheduled-maintenance-view
Add scheduled maintenance view
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<% | ||
# 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: { | ||
status_code: 503, | ||
title: 'Scheduled maintenance', | ||
heading: 'GOV.UK publishing tools are currently unavailable due to scheduled maintenance', | ||
intro: '<p>Contact the GOV.UK lead (Single Point Of Contact) for your department or agency if you need to publish something in an <a href="https://www.gov.uk/guidance/contact-the-government-digital-service/how-to-contact-gds#emergency-support-requests">emergency</a>.</p> | ||
|
||
<p>The Inside GOV.UK blog has <a href="https://insidegovuk.blog.gov.uk/status/">more about the scheduled maintenance</a>.</p>', | ||
} | ||
%> |