1+ % cascade base { title=> $company.company_name ~" - View all (free company information from Companies House)", classes=>"profile" }
2+
3+ % around content -> {
4+
5+ % if $company.type != "assurance-company" && $company.type != "industrial-and-provident-society" && $company.type != "royal-charter" && $company.type != "investment-company-with-variable-capital" && $company.type != "charitable-incorporated-organisation" && $company.type != "scottish-charitable-incorporated-organisation" && $company.type != "uk-establishment" && $company.type != "registered-society-non-jurisdictional" && $company.type != "protected-cell-company" && $company.type != "eeig" && $company.type != "protected-cell-company" && $company.type != "further-education-or-sixth-form-college-corporation" && $company.type != "icvc-securities" && $company.type != "icvc-warrant" && $company.type != "icvc-umbrella" {
6+
7+ % include '/includes/company/page_header.tx'
8+
9+ % include '/includes/company/tabs.tx' { active => 'view-all-tab' };
10+
11+ <details class="govuk-details" role="group">
12+ <summary class="govuk-details__summary" role="button" aria-controls="details-content" aria-expanded="true">
13+ <span class="govuk-details__summary-text">
14+ What's included?
15+ </span>
16+ </summary>
17+ <div class="govuk-details__text" id="details-content" aria-hidden="false">
18+ <p>The latest 100 entries for:</p>
19+ <ul class="govuk-list govuk-list--bullet">
20+ <li>Filing history</li>
21+ <li>Officers</li>
22+ <li>Persons with significant control</li>
23+ <li>Charges</li>
24+ <li>Insolvency</li>
25+ <li>Registers</li>
26+ </ul>
27+ </div>
28+ </details>
29+
30+
31+ % if $c.is_signed_in {
32+ <div class="govuk-inset-text onlyJS">
33+ <div id="widget">
34+ <a class="render-document govuk-button secondary-button piwik-event" data-event-id="View company information snapshot" href="#">View company information snapshot
35+ <span class="govuk-visually-hidden">link opens in new tab/window</span></a>
36+ <div id="status-widget" class="widget-footer hidden">
37+ <div id="status">
38+ <div id="process-spinner" class="process-spinner"></div>
39+ <span id="process-status" class="process-status">Status: in-progress</span>
40+ </div>
41+ <input type="hidden" id="document-data"
42+ data-resource-url="/company-number/<%$company.company_number%>"
43+ data-content-type="text/html" data-document-type="text/html">
44+ </input>
45+ </div>
46+ </div>
47+ </div>
48+ <div id="download-button"></div>
49+ % } else {
50+ <a class="govuk-button secondary-button piwik-event" data-event-id="View company information snapshot" href="<% $c.url_for('user_sign_in') %>">View company information snapshot
51+ <span class="govuk-visually-hidden">link opens in new tab/window</span></a>
52+ % }
53+
54+ % } else {
55+ <article class="text">
56+ <header>
57+ <h1 id="page-not-found-header" class="heading-xlarge">
58+ This page cannot be found
59+ </h1>
60+ </header>
61+ <p>Check that you have entered the correct web address or try using the search.</p>
62+ <p>If you still can't find what you're looking for email <a href="mailto:
[email protected] ">
[email protected] </a></p>
63+ </article>
64+ % }
65+ % }
66+ % }
0 commit comments