Skip to content

Commit 77b58ad

Browse files
authored
Merge pull request #81 from companieshouse/release/4.35.0
Release/4.35.0
2 parents 90fbd89 + ffce3ec commit 77b58ad

File tree

15 files changed

+38
-34
lines changed

15 files changed

+38
-34
lines changed

templates/base.tx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
<div id="<% (! $disable_header_search) ? 'content-container' : 'search-container' %>">
196196
% block content -> { ; }
197197
</div>
198-
198+
199199
</main>
200200

201201
<!--end main-->

templates/company/company_name_availability/form.html.tx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
% cascade base { title=> "Company Name Availability Checker - Companies House", classes=>"profile", disable_header_search => 1 }
22
% around content -> {
3-
4-
<div class="column-full-width">
5-
<h1 class="main-title left" id="start-searching"">
3+
4+
<div class="column-full-width" id="content">
5+
<h1 class="main-title left">
66
<label for="site-search-text" class="heading-xlarge">
77
Company name availability checker
88
</label>
@@ -44,7 +44,7 @@
4444
</p>
4545

4646
% } elsif $total_results > 0 {
47-
47+
4848
<h2 class="heading-small">
4949
The company name "<b><% $query | uc %></b>" is considered to be the 'same as' the existing names shown below:
5050
</h2>
@@ -54,12 +54,12 @@
5454
% if $show_error {
5555

5656
<h2 class="heading-small">
57-
Companies House are unable to check the availability of this name online, please telephone our Contact Centre on
57+
Companies House are unable to check the availability of this name online, please telephone our Contact Centre on
5858
+44 (0) 303 1234 500.
5959
</h2>
60-
61-
% }
62-
60+
61+
% }
62+
6363
<ul id="results" class="results-list">
6464
% for $companies.items -> $item {
6565
<li class="type-company">
@@ -70,7 +70,7 @@
7070
<p><% $item.snippet | mark_raw %></p>
7171
<p><% $c.cv_lookup('company_type', $item.company_type) %></p>
7272
</li>
73-
%}
73+
%}
7474
</ul>
7575
</div>
7676
</div>

templates/company/follow/list.html.tx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
% cascade base { title => 'Follow ' ~ $company.company_name , form_page => 1, classes => "transaction service" }
22
% around content -> {
3-
<div role="article" class="text follow-confirmation">
3+
<div role="article" class="text follow-confirmation">
4+
<div id="content" class="content-override"></div>
45
<h1 class="heading-xlarge" id="follow-company-title"><% l('Follow a company') %></h1>
56
<div class="text" id="follow-company-confirmation-prompt">
67
<h2 class="heading-large"><% $company.company_name %> (<% $company.company_number %>)</h2>
@@ -24,7 +25,7 @@
2425
% }
2526
>Cancel</a>
2627
</p>
27-
</div>
28+
</div>
2829
</div>
2930
</div>
3031
% }

templates/includes/company/page_header.tx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<div class="company-header">
2-
<p id="company-name" class="heading-xlarge"><% $company.company_name %></p>
2+
<div id="content" class="content-override"></div>
3+
<p class="heading-xlarge"><% $company.company_name %></p>
34
<p id="company-number">
45
% if $company.type == 'uk-establishment' {
56
<% l('UK establishment number') %>

templates/includes/transactions.tx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<a class="link-back id="back-button" href="javascript:history.back()">Back</a>
22

33
<header class="text">
4+
<div id="content" class="content-override"></div>
45
<h1 id="page-header"class="heading-xlarge">
56
<% $title %>
67
</h1>

templates/personal_appointments/get.html.tx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<script src='//<% $cdn_url %>/javascripts/vendor/selection-buttons.js'></script> <!-- Needed for new GDS-style radio buttons and checkboxes -->
55
<script src='//<% $cdn_url %>/javascripts/vendor/application.js'></script> <!-- Needed for new GDS-style radio buttons and checkboxes -->
66

7+
<div id="content" class="content-override"></div>
78
<header class="text">
89
<h1 class="heading-xlarge" id="officer-name"><% $officer.name %></h1>
910
</header>

templates/search/banner.tx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<label class="hidden" for="site-search-text">Search for companies</label>
1010
<form id="search" action="/search/companies" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header' ? 'search-header' : 'search-header js-search-hash' %>">
1111
% } else {
12-
<label class="hidden" for="site-search-text">Search for companies or officers</label>
1312
<form id="search" action="/search" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header' ? 'search-header' : 'search-header js-search-hash' %>">
1413
% }
1514
<div class="search-bar-active">

templates/search/form.tx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
% if $search_type == "officers" {
2-
<form id="search" action="/search/officers" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header'? 'site-search' : 'search-header js-search-hash' %>">
2+
<form id="content" action="/search/officers" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header'? 'site-search' : 'search-header js-search-hash' %>">
33
% } elsif $search_type == 'disqualified-officers' {
4-
<form id="search" action="/search/disqualified-officers" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header'? 'site-search' : 'search-header js-search-hash' %>">
4+
<form id="content" action="/search/disqualified-officers" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header'? 'site-search' : 'search-header js-search-hash' %>">
55
% } elsif $search_type == 'all' {
6-
<form id="search" action="/search" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header' ? 'search-header' : 'search-header js-search-hash' %>">
6+
<form id="content" action="/search" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header' ? 'search-header' : 'search-header js-search-hash' %>">
77
% } else {
8-
<form id="search" action="/search/companies" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header'? 'site-search' : 'search-header js-search-hash' %>">
8+
<form id="content" action="/search/companies" method="get" accept-charset="utf-8" role="search" class="<% $header_or_body=='header'? 'site-search' : 'search-header js-search-hash' %>">
99
% }
1010

1111
% if ($header_or_body == 'header') {

templates/search/noresults.html.tx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="column-full-width">
1010
% include 'search/form.tx'
1111
<div class="grid-row">
12-
<div class="column-two-thirds">
12+
<div class="column-two-thirds" id="content">
1313
<article id="no-results" class="text">
1414
<% if $results.searchTerm { %>
1515
<h2 class="heading-large" id="no-results" >No results found for "<% $results.searchTerm %>"</h2>

templates/search/results.html.tx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
% include "search/form.tx" {SHOW_TABS => 0, RESULTS_CONTAINER => 0}
1616

1717
<div class="grid-row">
18-
<div class="column-two-thirds">
18+
<div class="column-two-thirds" id="content">
1919

2020
<article id="services-information-results">
2121

0 commit comments

Comments
 (0)