-
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 #2197 from alphagov/iterate-error-pages
Iterate design and copy for error pages
- Loading branch information
Showing
18 changed files
with
21 additions
and
39 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
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Bad request", | ||
heading: "Bad request", | ||
intro: '', | ||
heading: "Sorry, there is a problem", | ||
intro: '<p>Go back and change the information you entered.</p>', | ||
status_code: 400 | ||
} %> |
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Unauthorized", | ||
heading: "You are not permitted to access this page", | ||
heading: "You are not permitted to see this page", | ||
intro: '<p>This page is restricted to certain users only.</p>', | ||
status_code: 401 | ||
} %> |
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
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Page not found", | ||
heading: "Page not found", | ||
intro: '<p>If you entered a web address please check it was correct.</p> | ||
|
||
<p>You can <a class="govuk-link" href="/">browse from the homepage</a> to find the information you need.</p>', | ||
intro: '<p>If you entered a web address, check it is correct.</p> | ||
<p>You can <a class="govuk-link" href="/">browse from the homepage</a> or use the search box above to find the information you need.</p>', | ||
status_code: 404 | ||
} %> |
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Page not found", | ||
heading: "The page you are looking for can't be found", | ||
intro: '<p>Please check that you have entered the correct web address, or try using the search box above or explore <a class="govuk-link" href="/">GOV.UK</a> to find the information you need.</p>', | ||
heading: "The page you’re looking for cannot be found", | ||
intro: '<p>If you entered a web address, check it is correct.</p> | ||
<p>You can <a class="govuk-link" href="/">browse from the homepage</a> or use the search box above to find the information you need.</p>', | ||
status_code: 406 | ||
} %> |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Page no longer here", | ||
heading: "The page you are looking for is no longer here", | ||
heading: "The page you’re looking for is no longer here", | ||
intro: '<p>It may have been moved or replaced.</p> | ||
<p>Please check that you have entered the correct web address, or try using the search box above or explore <a class="govuk-link" href="/">GOV.UK</a> to find the information you need.</p>', | ||
<p>If you entered a web address, check it is correct.</p> | ||
<p>You can <a class="govuk-link" href="/">browse from the homepage</a> or use the search box above to find the information you need.</p>', | ||
status_code: 410 | ||
} %> |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Sorry, there was a problem", | ||
heading: "Sorry, there was a problem", | ||
intro: '<p>We cannot show you the page you were expecting.</p> | ||
<p>Go back and try again.</p>', | ||
heading: "Sorry, there is a problem", | ||
intro: '<p>Go back and change the information you entered.</p>', | ||
status_code: 422 | ||
} %> |
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Sorry, there was a problem", | ||
heading: "Sorry, there was a problem", | ||
intro: '<p>You have made too many requests to this page.</p> | ||
heading: "Sorry, there is a problem", | ||
intro: '<p>There have been too many attempts to access this page.</p> | ||
<p>Try again later.</p>', | ||
status_code: 429 | ||
} %> |
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
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
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
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
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
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
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