Skip to content

Commit 5155b7a

Browse files
Merge pull request #665 from companieshouse/feature/siv-1010-skip-to-main-content-button-broken
SIV-1010 Skip to main content button broken
2 parents 40203e0 + c96c030 commit 5155b7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/base.tx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
<div id="skiplink-container">
108108
<div>
109109
<!--$alternative_skiplink provides a different ID as #content contains styling which can throw off certain screens-->
110-
<a href="<% (! $alternative_skiplink) ? '#content' : '#page-content' %>" class="govuk-skip-link" <% if $govuk_rebrand { %> data-module="govuk-skip-link" <% } %> >Skip to main content</a>
110+
<a href="<% $search_skiplink ? '#search' : ( ! $alternative_skiplink ? '#content' : '#page-content' ) %>" class="govuk-skip-link" <% if $govuk_rebrand { %> data-module="govuk-skip-link" <% } %> >Skip to main content</a>
111111
</div>
112112
</div>
113113

templates/disqualified_officer/view.html.tx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
% cascade base { title => $name ~' - Disqualification Details - Find and update company information - GOV.UK)' }
1+
% cascade base { title => $name ~' - Disqualification Details - Find and update company information - GOV.UK)', search_skiplink => true }
22

33
% around content -> {
44

0 commit comments

Comments
 (0)