ccs-digitalmarketplace-frontend-jinja 4.5.0__tar.gz → 4.7.0__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.5.0/ccs_digitalmarketplace_frontend_jinja.egg-info → ccs_digitalmarketplace_frontend_jinja-4.7.0}/PKG-INFO +3 -1
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/README.md +2 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0/ccs_digitalmarketplace_frontend_jinja.egg-info}/PKG-INFO +3 -1
- ccs_digitalmarketplace_frontend_jinja-4.7.0/digitalmarketplace_frontend_jinja/__init__.py +1 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree/macro.html +17 -5
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content/macro.html +5 -7
- ccs_digitalmarketplace_frontend_jinja-4.5.0/digitalmarketplace_frontend_jinja/__init__.py +0 -1
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/LICENCE +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/MANIFEST.in +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/ccs_digitalmarketplace_frontend_jinja.egg-info/SOURCES.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/ccs_digitalmarketplace_frontend_jinja.egg-info/dependency_links.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/ccs_digitalmarketplace_frontend_jinja.egg-info/requires.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/ccs_digitalmarketplace_frontend_jinja.egg-info/top_level.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/alert/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/attachment/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/character-count-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/checkboxes-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/compliance-communication-attachment-row/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/compliance-communication-attachments/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/cookie-banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/documents/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/file-upload-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/footer/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/header/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/input-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/list-input/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/option-select/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/previous-next-pagination/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-boolean/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-character-count/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-checkboxes/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-date/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-format-hint/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-hidden/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-list/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion-client-side/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion-server-side/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-money/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-number/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-pricing/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-radios/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-select/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-text/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/question-upload/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/radios-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/search-box/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/select-country-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-boolean/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-checkbox-tree/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-list/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-list-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-number/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-radios/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-service-id/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-text/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/summary-content-upload/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/system-message-banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/components/temporary-message/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/errors/400.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/errors/403.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/errors/404.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/errors/410.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/errors/500.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/layouts/_custom_dimensions.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/digitalmarketplace_frontend_jinja/templates/layouts/_site_verification.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/pyproject.toml +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ccs-digitalmarketplace-frontend-jinja
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.7.0
|
|
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,8 @@ 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.7.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.7.0) | [3.7.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.7.0) |
|
|
45
|
+
| [4.6.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.6.0) | [3.6.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.6.0) |
|
|
44
46
|
| [4.5.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.5.0) | [3.5.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.5.0) |
|
|
45
47
|
| [4.4.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.4.0) | [3.4.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.4.0) |
|
|
46
48
|
| [4.3.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.3.0) | [3.3.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.3.0) |
|
|
@@ -16,6 +16,8 @@ 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.7.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.7.0) | [3.7.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.7.0) |
|
|
20
|
+
| [4.6.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.6.0) | [3.6.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.6.0) |
|
|
19
21
|
| [4.5.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.5.0) | [3.5.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.5.0) |
|
|
20
22
|
| [4.4.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.4.0) | [3.4.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.4.0) |
|
|
21
23
|
| [4.3.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.3.0) | [3.3.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.3.0) |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ccs-digitalmarketplace-frontend-jinja
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.7.0
|
|
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,8 @@ 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.7.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.7.0) | [3.7.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.7.0) |
|
|
45
|
+
| [4.6.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.6.0) | [3.6.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.6.0) |
|
|
44
46
|
| [4.5.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.5.0) | [3.5.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.5.0) |
|
|
45
47
|
| [4.4.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.4.0) | [3.4.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.4.0) |
|
|
46
48
|
| [4.3.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.3.0) | [3.3.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.3.0) |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '4.7.0'
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{% macro digitalmarketplaceQuestionCheckboxTree(params) %}
|
|
2
2
|
{%- from "govuk_frontend_jinja/components/fieldset/macro.html" import govukFieldset -%}
|
|
3
3
|
{%- from "govuk_frontend_jinja/components/checkboxes/macro.html" import govukCheckboxes -%}
|
|
4
|
+
{%- from "govuk_frontend_jinja/components/hint/macro.html" import govukHint -%}
|
|
4
5
|
{%- from "govuk_frontend_jinja/components/accordion/macro.html" import govukAccordion -%}
|
|
5
6
|
{%- from "govuk_frontend_jinja/components/error-message/macro.html" import govukErrorMessage -%}
|
|
7
|
+
{%- from "digitalmarketplace_frontend_jinja/components/question-format-hint/macro.html" import digitalmarketplaceQuestionFormatHint -%}
|
|
6
8
|
|
|
7
9
|
{% set name = params.question.id %}
|
|
8
10
|
{% set questionText = params.question.question + " ({})".format(params.question.optional_text if params.question.optional_text else "optional") if params.question.optional else params.question.question %}
|
|
@@ -18,9 +20,17 @@
|
|
|
18
20
|
"classes": 'dm-checkbox-tree',
|
|
19
21
|
"attributes": {
|
|
20
22
|
'data-module': 'dm-question-checkbox-tree',
|
|
21
|
-
'aria-describedby': "input-" + name if errorMessage
|
|
23
|
+
'aria-describedby': "input-" + name if errorMessage,
|
|
24
|
+
'data-item-name-singular': params.question.item_name.singular if params.question.item_name else "category",
|
|
25
|
+
'data-item-name-plural': params.question.item_name.plural if params.question.item_name else "categories"
|
|
22
26
|
}
|
|
23
27
|
}) %}
|
|
28
|
+
{% if params.question.hint or params.question.question_advice %}
|
|
29
|
+
{{ govukHint({
|
|
30
|
+
"html": digitalmarketplaceQuestionFormatHint(params.question)
|
|
31
|
+
}) }}
|
|
32
|
+
{% endif %}
|
|
33
|
+
|
|
24
34
|
{% if errorMessage %}
|
|
25
35
|
{{ govukErrorMessage({
|
|
26
36
|
"text": errorMessage["message"],
|
|
@@ -30,9 +40,11 @@
|
|
|
30
40
|
|
|
31
41
|
<div class="govuk-grid-row">
|
|
32
42
|
<div class="dm-checkbox-tree__summary govuk-grid-column-one-third">
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
43
|
+
{% if params.question.number_of_items %}
|
|
44
|
+
<p class="govuk-body">
|
|
45
|
+
You can choose up to {{ params.question.number_of_items }} {{ params.question.item_name.plural if params.question.item_name else "categories" }}.
|
|
46
|
+
</p>
|
|
47
|
+
{% endif %}
|
|
36
48
|
<p class="dm-checkbox-tree__summary-total govuk-body">
|
|
37
49
|
<strong class="dm-checkbox-tree__summary-total-selected"></strong>
|
|
38
50
|
<span class="dm-checkbox-tree__summary-total-selected-text"></span>
|
|
@@ -54,7 +66,7 @@
|
|
|
54
66
|
{% endfor %}
|
|
55
67
|
|
|
56
68
|
{% set summaryHtml %}
|
|
57
|
-
{{ option.options | length }} categories<span class="dm-checkbox-tree__options-number-selected"></span>
|
|
69
|
+
{{ option.options | length }} {{ params.question.item_name.plural if params.question.item_name else "categories" }}<span class="dm-checkbox-tree__options-number-selected"></span>
|
|
58
70
|
{% endset %}
|
|
59
71
|
|
|
60
72
|
{% set _accordionItems = accordionItems.append({
|
|
@@ -10,13 +10,7 @@
|
|
|
10
10
|
{%- from "digitalmarketplace_frontend_jinja/components/summary-content-multiquestion/macro.html" import digitalmarketplaceSummaryContentMultiquestion -%}
|
|
11
11
|
{%- from "digitalmarketplace_frontend_jinja/components/summary-content-list-multiquestion/macro.html" import digitalmarketplaceSummaryContentListMultiquestion -%}
|
|
12
12
|
|
|
13
|
-
{%
|
|
14
|
-
|
|
15
|
-
{% if params.type in textOptions %}
|
|
16
|
-
{{ digitalmarketplaceSummaryContentText({
|
|
17
|
-
"value": params.value
|
|
18
|
-
}) }}
|
|
19
|
-
{% elif params.type == 'list' or params.type == 'checkboxes'%}
|
|
13
|
+
{% if params.type == 'list' or params.type == 'checkboxes'%}
|
|
20
14
|
{{ digitalmarketplaceSummaryContentList({
|
|
21
15
|
"value": params.value
|
|
22
16
|
}) }}
|
|
@@ -52,5 +46,9 @@
|
|
|
52
46
|
{{ digitalmarketplaceSummaryContentListMultiquestion({
|
|
53
47
|
'value': params.value
|
|
54
48
|
}) }}
|
|
49
|
+
{% else %}
|
|
50
|
+
{{ digitalmarketplaceSummaryContentText({
|
|
51
|
+
"value": params.value
|
|
52
|
+
}) }}
|
|
55
53
|
{% endif %}
|
|
56
54
|
{% endmacro %}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '4.5.0'
|
{ccs_digitalmarketplace_frontend_jinja-4.5.0 → ccs_digitalmarketplace_frontend_jinja-4.7.0}/LICENCE
RENAMED
|
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
|