Skip to content

Commit b9d2d41

Browse files
authored
Merge pull request #101 from companieshouse/feature/add-alpha-search
Add alphabetical search section to other useful tools
2 parents 9ec8e26 + 95fe54b commit b9d2d41

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

appconfig.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ feature:
9393
mortgage: <MORTGAGE_FEATURE>
9494
psc: <PSC_FEATURE>
9595
company_report: <COMPANY_REPORT_FEATURE>
96+
alphabetical_search: <ALPHABETICAL_SEARCH_FEATURE>
9697

9798
image_service_start_date: <IMAGE_SERVICE_START_DATE>
9899

templates/includes/feature_info.tx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
<h2 class="heading-medium">Other useful tools</h2>
1919
<ul class="list list-bullet">
2020
<li><a href="/company-name-availability" target="_blank">Company name availability checker<span class="visuallyhidden">Link opens in new window</span></a></li>
21+
% if $c.config.feature.alphabetical_search {
22+
<li><a <% if $c.config.piwik.embed { %> onclick="javascript:_paq.push(['trackEvent', 'Other useful tools', 'Alphabetical company search']);"<% } %> href="/alphabetical-search" target="_blank">Alphabetical company search<span class="visuallyhidden">Link opens in new window</span></a><sup class="label phase-tag">New</sup></li>
23+
% }
2124
</ul>
2225
</div>

0 commit comments

Comments
 (0)