Skip to content

Commit

Permalink
Merge pull request #743 from alphagov/add-scheduled-maintenance-view
Browse files Browse the repository at this point in the history
Add scheduled maintenance view
  • Loading branch information
boffbowsh committed Feb 26, 2016
2 parents 60eca49 + b29c943 commit 876d371
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/views/root/scheduled_maintenance.html.erb
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>',
}
%>

0 comments on commit 876d371

Please sign in to comment.