ccs-digitalmarketplace-frontend-jinja 4.10.0__tar.gz → 4.10.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ccs_digitalmarketplace_frontend_jinja-4.10.0/ccs_digitalmarketplace_frontend_jinja.egg-info → ccs_digitalmarketplace_frontend_jinja-4.10.1}/PKG-INFO +2 -1
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/README.md +1 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1/ccs_digitalmarketplace_frontend_jinja.egg-info}/PKG-INFO +2 -1
- ccs_digitalmarketplace_frontend_jinja-4.10.1/digitalmarketplace_frontend_jinja/__init__.py +1 -0
- ccs_digitalmarketplace_frontend_jinja-4.10.1/digitalmarketplace_frontend_jinja/templates/components/summary-content-checkbox-tree/macro.html +38 -0
- ccs_digitalmarketplace_frontend_jinja-4.10.0/digitalmarketplace_frontend_jinja/__init__.py +0 -1
- ccs_digitalmarketplace_frontend_jinja-4.10.0/digitalmarketplace_frontend_jinja/templates/components/summary-content-checkbox-tree/macro.html +0 -28
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/LICENCE +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/MANIFEST.in +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/SOURCES.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/dependency_links.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/requires.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/top_level.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/alert/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/attachment/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/character-count-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/checkboxes-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/compliance-communication-attachment-row/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/compliance-communication-attachments/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/cookie-banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/documents/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/file-upload-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/footer/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/header/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/input-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/list-input/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/option-select/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/previous-next-pagination/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-boolean/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-character-count/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree-large/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-checkboxes/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-date/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-format-hint/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-hidden/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-list/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion-client-side/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion-server-side/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-money/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-number/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-pricing/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-radios/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-select/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-text/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/question-upload/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/radios-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/search-box/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/select-country-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-boolean/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-list/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-list-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-number/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-radios/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-service-id/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-text/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-upload/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/system-message-banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/components/temporary-message/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/errors/400.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/errors/403.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/errors/404.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/errors/410.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/errors/500.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/layouts/_custom_dimensions.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/digitalmarketplace_frontend_jinja/templates/layouts/_site_verification.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/pyproject.toml +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.10.0 → ccs_digitalmarketplace_frontend_jinja-4.10.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ccs-digitalmarketplace-frontend-jinja
|
|
3
|
-
Version: 4.10.
|
|
3
|
+
Version: 4.10.1
|
|
4
4
|
Summary: Jinja templates for Digital Marketplace apps.
|
|
5
5
|
Author: CCS Developers
|
|
6
6
|
Project-URL: Homepage, https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja
|
|
@@ -41,6 +41,7 @@ The following table shows the version of Digital Marketplace Frontend Jinja that
|
|
|
41
41
|
|
|
42
42
|
| Digital Marketplace Frontend Jinja Version | Target CCS Digital Marketplace GOV.UK Frontend Version |
|
|
43
43
|
| ------------------------------------------ | ------------------------------------------------------ |
|
|
44
|
+
| [4.10.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.10.1) | [3.10.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.10.1) |
|
|
44
45
|
| [4.10.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.10.0) | [3.10.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.10.0) |
|
|
45
46
|
| [4.9.2](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.2) | [3.9.2](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.2) |
|
|
46
47
|
| [4.9.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.1) | [3.9.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.1) |
|
|
@@ -16,6 +16,7 @@ The following table shows the version of Digital Marketplace Frontend Jinja that
|
|
|
16
16
|
|
|
17
17
|
| Digital Marketplace Frontend Jinja Version | Target CCS Digital Marketplace GOV.UK Frontend Version |
|
|
18
18
|
| ------------------------------------------ | ------------------------------------------------------ |
|
|
19
|
+
| [4.10.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.10.1) | [3.10.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.10.1) |
|
|
19
20
|
| [4.10.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.10.0) | [3.10.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.10.0) |
|
|
20
21
|
| [4.9.2](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.2) | [3.9.2](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.2) |
|
|
21
22
|
| [4.9.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.1) | [3.9.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.1) |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ccs-digitalmarketplace-frontend-jinja
|
|
3
|
-
Version: 4.10.
|
|
3
|
+
Version: 4.10.1
|
|
4
4
|
Summary: Jinja templates for Digital Marketplace apps.
|
|
5
5
|
Author: CCS Developers
|
|
6
6
|
Project-URL: Homepage, https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja
|
|
@@ -41,6 +41,7 @@ The following table shows the version of Digital Marketplace Frontend Jinja that
|
|
|
41
41
|
|
|
42
42
|
| Digital Marketplace Frontend Jinja Version | Target CCS Digital Marketplace GOV.UK Frontend Version |
|
|
43
43
|
| ------------------------------------------ | ------------------------------------------------------ |
|
|
44
|
+
| [4.10.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.10.1) | [3.10.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.10.1) |
|
|
44
45
|
| [4.10.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.10.0) | [3.10.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.10.0) |
|
|
45
46
|
| [4.9.2](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.2) | [3.9.2](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.2) |
|
|
46
47
|
| [4.9.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.1) | [3.9.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.1) |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '4.10.1'
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{% macro digitalmarketplaceSummaryContentCheckboxTree(params) %}
|
|
2
|
+
{% macro checkboxTreeList(items) %}
|
|
3
|
+
<ul class="govuk-list govuk-list--bullet govuk-body-s">
|
|
4
|
+
{% for item in items %}
|
|
5
|
+
<li>{{ item.label }}</li>
|
|
6
|
+
{% endfor %}
|
|
7
|
+
</ul>
|
|
8
|
+
{% endmacro %}
|
|
9
|
+
|
|
10
|
+
{% macro checkboxTreeSummary(item) %}
|
|
11
|
+
<li>
|
|
12
|
+
<p class="govuk-!-margin-bottom-1">{{ item.label }}</p>
|
|
13
|
+
{% if item.options[0].options %}
|
|
14
|
+
<ul class="govuk-list">
|
|
15
|
+
{% for sub_item in item.options %}
|
|
16
|
+
{{ checkboxTreeSummary(sub_item) }}
|
|
17
|
+
{% endfor %}
|
|
18
|
+
</ul>
|
|
19
|
+
{% else %}
|
|
20
|
+
{{ checkboxTreeList(item.options) }}
|
|
21
|
+
{% endif %}
|
|
22
|
+
</li>
|
|
23
|
+
{% endmacro %}
|
|
24
|
+
|
|
25
|
+
{% if params.value -%}
|
|
26
|
+
{% set no_children = (params.value | selectattr("options") | list |length) == 0 %}
|
|
27
|
+
|
|
28
|
+
{% if no_children %}
|
|
29
|
+
{{ checkboxTreeList(params.value) }}
|
|
30
|
+
{% else %}
|
|
31
|
+
<ul class="govuk-list">
|
|
32
|
+
{% for item in params.value %}
|
|
33
|
+
{{ checkboxTreeSummary(item) }}
|
|
34
|
+
{% endfor %}
|
|
35
|
+
</ul>
|
|
36
|
+
{% endif %}
|
|
37
|
+
{% endif %}
|
|
38
|
+
{% endmacro %}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '4.10.0'
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{% macro digitalmarketplaceSummaryContentCheckboxTree(params) %}
|
|
2
|
-
{% if params.value -%}
|
|
3
|
-
{% set no_children = (params.value | selectattr("options") | list |length) == 0 %}
|
|
4
|
-
|
|
5
|
-
{% if no_children %}
|
|
6
|
-
<ul class="govuk-list govuk-list--bullet govuk-body-s">
|
|
7
|
-
{% for item in params.value %}
|
|
8
|
-
<li>{{ item.label }}</li>
|
|
9
|
-
{% endfor %}
|
|
10
|
-
</ul>
|
|
11
|
-
{% else %}
|
|
12
|
-
<ul class="govuk-list">
|
|
13
|
-
{% for parent_category in params.value %}
|
|
14
|
-
<li>
|
|
15
|
-
<p class="govuk-!-margin-bottom-1">{{ parent_category.label }}</p>
|
|
16
|
-
{% if parent_category.options %}
|
|
17
|
-
<ul class="govuk-list govuk-list--bullet govuk-body-s">
|
|
18
|
-
{% for item in parent_category.options %}
|
|
19
|
-
<li>{{ item.label }}</li>
|
|
20
|
-
{% endfor %}
|
|
21
|
-
</ul>
|
|
22
|
-
{% endif %}
|
|
23
|
-
</li>
|
|
24
|
-
{% endfor %}
|
|
25
|
-
</ul>
|
|
26
|
-
{% endif %}
|
|
27
|
-
{% endif %}
|
|
28
|
-
{% endmacro %}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|