-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HOF 592 Added 403 Error page (Forbidden)
- Added html content in 403.html page to display 403 forbidden error message - Added 403 text in errors.json file. - Wrote unit test to unsure error page pass. - Modify the previous status code assigned to 403
- Loading branch information
1 parent
3818f24
commit c77eb40
Showing
4 changed files
with
74 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{{<layout}} | ||
{{$header}} | ||
{{title}} | ||
{{/header}} | ||
{{$content}} | ||
<div class="govuk-width-container"> | ||
<main class="govuk-main-wrapper govuk-main-wrapper--l" id="main-content" role="main"> | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<h1 class="govuk-heading-l">{{title}}</h1> | ||
<p class="govuk-body">{{paragraph}}</p> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
<a href="/" class="button" role="button">{{#t}}buttons.start-again{{/t}}</a> | ||
{{/content}} | ||
{{/layout}} |
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