Skip to content

Commit

Permalink
Merge pull request #2104 from alphagov/coronavirus-error-pages
Browse files Browse the repository at this point in the history
Add links to coronavirus on error pages
  • Loading branch information
thomasleese authored Mar 23, 2020
2 parents 9ceec1c + 159fab9 commit 142ab19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/root/404.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
heading: "Page not found",
intro: '<p>If you entered a web address please check it was correct.</p>

<p>You can also <a class="govuk-link" href="/search/all">search GOV.UK</a> or <a class="govuk-link" href="/">browse from the homepage</a> to find the information you need.</p>',
<p>You can <a class="govuk-link" href="/">browse from the homepage</a> to find the information you need.</p>',
status_code: 404
} %>
2 changes: 2 additions & 0 deletions app/views/root/_error_page.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
<% else %>
<p>Please try again in a few moments.</p>
<% end %>

<p>You can <a class="govuk-link" href="/coronavirus">find coronavirus information</a> on GOV.UK.</p>
</div>
</article>
</div>
Expand Down

0 comments on commit 142ab19

Please sign in to comment.