ccs-digitalmarketplace-frontend-jinja 4.8.0__tar.gz → 4.9.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.8.0/ccs_digitalmarketplace_frontend_jinja.egg-info → ccs_digitalmarketplace_frontend_jinja-4.9.1}/PKG-INFO +10 -8
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/README.md +2 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1/ccs_digitalmarketplace_frontend_jinja.egg-info}/PKG-INFO +10 -8
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/SOURCES.txt +1 -0
- ccs_digitalmarketplace_frontend_jinja-4.9.1/ccs_digitalmarketplace_frontend_jinja.egg-info/requires.txt +12 -0
- ccs_digitalmarketplace_frontend_jinja-4.9.1/digitalmarketplace_frontend_jinja/__init__.py +1 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/header/macro.html +8 -5
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question/macro.html +3 -0
- ccs_digitalmarketplace_frontend_jinja-4.9.1/digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree-large/macro.html +83 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-hidden/macro.html +1 -1
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-upload/macro.html +12 -12
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content/macro.html +1 -1
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/pyproject.toml +7 -7
- ccs_digitalmarketplace_frontend_jinja-4.8.0/ccs_digitalmarketplace_frontend_jinja.egg-info/requires.txt +0 -12
- ccs_digitalmarketplace_frontend_jinja-4.8.0/digitalmarketplace_frontend_jinja/__init__.py +0 -1
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/LICENCE +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/MANIFEST.in +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/dependency_links.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/top_level.txt +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/alert/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/attachment/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/character-count-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/checkboxes-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/compliance-communication-attachment-row/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/compliance-communication-attachments/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/cookie-banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/documents/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/file-upload-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/footer/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/input-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/list-input/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/option-select/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/previous-next-pagination/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-boolean/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-character-count/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-checkboxes/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-date/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-format-hint/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-list/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion-client-side/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion-server-side/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-money/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-number/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-pricing/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-radios/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-select/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/question-text/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/radios-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/search-box/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/select-country-from-form/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-boolean/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-checkbox-tree/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-list/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-list-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-multiquestion/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-number/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-radios/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-service-id/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-text/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-upload/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/system-message-banner/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/components/temporary-message/macro.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/errors/400.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/errors/403.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/errors/404.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/errors/410.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/errors/500.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/layouts/_custom_dimensions.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/digitalmarketplace_frontend_jinja/templates/layouts/_site_verification.html +0 -0
- {ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.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.
|
|
3
|
+
Version: 4.9.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
|
|
@@ -14,13 +14,13 @@ Requires-Dist: jinja2>3
|
|
|
14
14
|
Requires-Dist: ccs-govuk-frontend-jinja<2,>=1.5
|
|
15
15
|
Requires-Dist: ccs-digitalmarketplace-utils>=69.0.0
|
|
16
16
|
Provides-Extra: dev
|
|
17
|
-
Requires-Dist: flake8; extra == "dev"
|
|
18
|
-
Requires-Dist: mypy; extra == "dev"
|
|
19
|
-
Requires-Dist: pytest; extra == "dev"
|
|
20
|
-
Requires-Dist: lxml; extra == "dev"
|
|
21
|
-
Requires-Dist: xmldiff; extra == "dev"
|
|
22
|
-
Requires-Dist: flask; extra == "dev"
|
|
23
|
-
Requires-Dist: pre-commit; extra == "dev"
|
|
17
|
+
Requires-Dist: flake8==7.3.0; extra == "dev"
|
|
18
|
+
Requires-Dist: mypy==1.16.1; extra == "dev"
|
|
19
|
+
Requires-Dist: pytest==8.4.1; extra == "dev"
|
|
20
|
+
Requires-Dist: lxml==5.4.0; extra == "dev"
|
|
21
|
+
Requires-Dist: xmldiff==2.7.0; extra == "dev"
|
|
22
|
+
Requires-Dist: flask==3.1.1; extra == "dev"
|
|
23
|
+
Requires-Dist: pre-commit==4.2.0; extra == "dev"
|
|
24
24
|
Dynamic: license-file
|
|
25
25
|
|
|
26
26
|
Digital Marketplace Jinja Macros
|
|
@@ -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.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) |
|
|
45
|
+
| [4.9.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.0) | [3.9.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.0) |
|
|
44
46
|
| [4.8.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.8.0) | [3.8.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.8.0) |
|
|
45
47
|
| [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) |
|
|
46
48
|
| [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) |
|
|
@@ -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.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) |
|
|
20
|
+
| [4.9.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.0) | [3.9.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.0) |
|
|
19
21
|
| [4.8.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.8.0) | [3.8.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.8.0) |
|
|
20
22
|
| [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) |
|
|
21
23
|
| [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) |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ccs-digitalmarketplace-frontend-jinja
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.9.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
|
|
@@ -14,13 +14,13 @@ Requires-Dist: jinja2>3
|
|
|
14
14
|
Requires-Dist: ccs-govuk-frontend-jinja<2,>=1.5
|
|
15
15
|
Requires-Dist: ccs-digitalmarketplace-utils>=69.0.0
|
|
16
16
|
Provides-Extra: dev
|
|
17
|
-
Requires-Dist: flake8; extra == "dev"
|
|
18
|
-
Requires-Dist: mypy; extra == "dev"
|
|
19
|
-
Requires-Dist: pytest; extra == "dev"
|
|
20
|
-
Requires-Dist: lxml; extra == "dev"
|
|
21
|
-
Requires-Dist: xmldiff; extra == "dev"
|
|
22
|
-
Requires-Dist: flask; extra == "dev"
|
|
23
|
-
Requires-Dist: pre-commit; extra == "dev"
|
|
17
|
+
Requires-Dist: flake8==7.3.0; extra == "dev"
|
|
18
|
+
Requires-Dist: mypy==1.16.1; extra == "dev"
|
|
19
|
+
Requires-Dist: pytest==8.4.1; extra == "dev"
|
|
20
|
+
Requires-Dist: lxml==5.4.0; extra == "dev"
|
|
21
|
+
Requires-Dist: xmldiff==2.7.0; extra == "dev"
|
|
22
|
+
Requires-Dist: flask==3.1.1; extra == "dev"
|
|
23
|
+
Requires-Dist: pre-commit==4.2.0; extra == "dev"
|
|
24
24
|
Dynamic: license-file
|
|
25
25
|
|
|
26
26
|
Digital Marketplace Jinja Macros
|
|
@@ -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.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) |
|
|
45
|
+
| [4.9.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.9.0) | [3.9.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.9.0) |
|
|
44
46
|
| [4.8.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.8.0) | [3.8.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.8.0) |
|
|
45
47
|
| [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) |
|
|
46
48
|
| [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) |
|
|
@@ -28,6 +28,7 @@ digitalmarketplace_frontend_jinja/templates/components/question/macro.html
|
|
|
28
28
|
digitalmarketplace_frontend_jinja/templates/components/question-boolean/macro.html
|
|
29
29
|
digitalmarketplace_frontend_jinja/templates/components/question-character-count/macro.html
|
|
30
30
|
digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree/macro.html
|
|
31
|
+
digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree-large/macro.html
|
|
31
32
|
digitalmarketplace_frontend_jinja/templates/components/question-checkboxes/macro.html
|
|
32
33
|
digitalmarketplace_frontend_jinja/templates/components/question-date/macro.html
|
|
33
34
|
digitalmarketplace_frontend_jinja/templates/components/question-format-hint/macro.html
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '4.9.1'
|
|
@@ -9,15 +9,17 @@
|
|
|
9
9
|
|
|
10
10
|
{% if isAdmin %}
|
|
11
11
|
{% set adminAppClass = 'dm-admin-header govuk-header--full-width-border' %}
|
|
12
|
+
{% set adminServiceNavigationClass = 'dm-admin-service-navigation' %}
|
|
12
13
|
{% set productName = 'Digital Marketplace Admin' %}
|
|
13
14
|
{% else %}
|
|
14
15
|
{% set adminAppClass = 'govuk-header--full-width-border' %}
|
|
16
|
+
{% set adminServiceNavigationClass = '' %}
|
|
15
17
|
{% set productName = 'Digital Marketplace' %}
|
|
16
18
|
{% endif %}
|
|
17
19
|
|
|
18
20
|
{% if user_logged_in %}
|
|
19
21
|
{% if users_role in['buyer', 'supplier'] %}
|
|
20
|
-
{% set
|
|
22
|
+
{% set serviceNavigation = [
|
|
21
23
|
{
|
|
22
24
|
'text': 'Guidance',
|
|
23
25
|
'href': 'https://www.gov.uk/guidance/buying-and-selling-on-the-digital-marketplace'
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
]%}
|
|
36
38
|
{% else %}
|
|
37
39
|
{# Any other role #}
|
|
38
|
-
{% set
|
|
40
|
+
{% set serviceNavigation = [
|
|
39
41
|
{
|
|
40
42
|
'text': 'Guidance',
|
|
41
43
|
'href': 'https://www.gov.uk/guidance/buying-and-selling-on-the-digital-marketplace'
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
]%}
|
|
49
51
|
{% endif %}
|
|
50
52
|
{% else %}
|
|
51
|
-
{% set
|
|
53
|
+
{% set serviceNavigation = [
|
|
52
54
|
{
|
|
53
55
|
'text': 'Guidance',
|
|
54
56
|
'href': 'https://www.gov.uk/guidance/buying-and-selling-on-the-digital-marketplace'
|
|
@@ -65,8 +67,9 @@
|
|
|
65
67
|
'classes': adminAppClass
|
|
66
68
|
}) }}
|
|
67
69
|
{{ govukServiceNavigation({
|
|
68
|
-
'navigation':
|
|
70
|
+
'navigation': serviceNavigation,
|
|
69
71
|
'serviceName': productName,
|
|
70
|
-
'serviceUrl': '/'
|
|
72
|
+
'serviceUrl': '/',
|
|
73
|
+
'classes': adminServiceNavigationClass
|
|
71
74
|
}) }}
|
|
72
75
|
{% endmacro %}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
{%- from "digitalmarketplace_frontend_jinja/components/question-boolean/macro.html" import digitalmarketplaceQuestionBoolean -%}
|
|
11
11
|
{%- from "digitalmarketplace_frontend_jinja/components/question-checkboxes/macro.html" import digitalmarketplaceQuestionCheckboxes -%}
|
|
12
12
|
{%- from "digitalmarketplace_frontend_jinja/components/question-checkbox-tree/macro.html" import digitalmarketplaceQuestionCheckboxTree -%}
|
|
13
|
+
{%- from "digitalmarketplace_frontend_jinja/components/question-checkbox-tree-large/macro.html" import digitalmarketplaceQuestionCheckboxTreeLarge -%}
|
|
13
14
|
{%- from "digitalmarketplace_frontend_jinja/components/question-list/macro.html" import digitalmarketplaceQuestionList -%}
|
|
14
15
|
{%- from "digitalmarketplace_frontend_jinja/components/question-select/macro.html" import digitalmarketplaceQuestionSelect -%}
|
|
15
16
|
{%- from "digitalmarketplace_frontend_jinja/components/question-multiquestion/macro.html" import digitalmarketplaceQuestionMultiquestion -%}
|
|
@@ -43,6 +44,8 @@
|
|
|
43
44
|
{{ digitalmarketplaceQuestionCheckboxes(params) }}
|
|
44
45
|
{% elif params.type == 'checkbox_tree' %}
|
|
45
46
|
{{ digitalmarketplaceQuestionCheckboxTree(params) }}
|
|
47
|
+
{% elif params.type == 'checkbox_tree_large' %}
|
|
48
|
+
{{ digitalmarketplaceQuestionCheckboxTreeLarge(params) }}
|
|
46
49
|
{% elif params.type == 'list' %}
|
|
47
50
|
{{ digitalmarketplaceQuestionList(params) }}
|
|
48
51
|
{% elif params.type == 'select' %}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{% macro digitalmarketplaceQuestionCheckboxTreeLarge(params) %}
|
|
2
|
+
{%- from "govuk_frontend_jinja/components/fieldset/macro.html" import govukFieldset -%}
|
|
3
|
+
{%- from "govuk_frontend_jinja/components/checkboxes/macro.html" import govukCheckboxes -%}
|
|
4
|
+
{%- from "govuk_frontend_jinja/components/hint/macro.html" import govukHint -%}
|
|
5
|
+
{%- from "govuk_frontend_jinja/components/accordion/macro.html" import govukAccordion -%}
|
|
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 -%}
|
|
8
|
+
|
|
9
|
+
{% set name = params.question.id %}
|
|
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 %}
|
|
11
|
+
{% set errorMessage = params.errors[name] if params.errors %}
|
|
12
|
+
{% set values = params.data[name] or [] if params.data else [] %}
|
|
13
|
+
|
|
14
|
+
<div class="govuk-form-group {%- if errorMessage %} govuk-form-group--error{% endif %}">
|
|
15
|
+
{% call govukFieldset({
|
|
16
|
+
"legend": {
|
|
17
|
+
"html": questionText,
|
|
18
|
+
"classes": "govuk-fieldset__legend--m"
|
|
19
|
+
},
|
|
20
|
+
"classes": 'dm-checkbox-tree-large',
|
|
21
|
+
"attributes": {
|
|
22
|
+
'aria-describedby': "input-" + name if errorMessage,
|
|
23
|
+
}
|
|
24
|
+
}) %}
|
|
25
|
+
{% if params.question.hint or params.question.question_advice %}
|
|
26
|
+
{{ govukHint({
|
|
27
|
+
"html": digitalmarketplaceQuestionFormatHint(params.question)
|
|
28
|
+
}) }}
|
|
29
|
+
{% endif %}
|
|
30
|
+
|
|
31
|
+
{% if errorMessage %}
|
|
32
|
+
{{ govukErrorMessage({
|
|
33
|
+
"text": errorMessage["message"],
|
|
34
|
+
"id": "input-" + name
|
|
35
|
+
}) }}
|
|
36
|
+
{% endif %}
|
|
37
|
+
|
|
38
|
+
<div class="govuk-grid-row">
|
|
39
|
+
<div class="dm-checkbox-tree-large__summary govuk-grid-column-full">
|
|
40
|
+
{% set accordionItems = [] %}
|
|
41
|
+
|
|
42
|
+
{% for option in params.question.options %}
|
|
43
|
+
{% set checkboxItems = [] %}
|
|
44
|
+
|
|
45
|
+
{% for label in option.options %}
|
|
46
|
+
{% set checkboxItem = {
|
|
47
|
+
"text": label.label,
|
|
48
|
+
"value": label.label,
|
|
49
|
+
"checked": label.label in values
|
|
50
|
+
} %}
|
|
51
|
+
{% if label.description %}
|
|
52
|
+
{% set _checkboxItem = checkboxItem.__setitem__("hint", { "html": label.description }) %}
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% set _checkboxItems = checkboxItems.append(checkboxItem) %}
|
|
55
|
+
{% endfor %}
|
|
56
|
+
|
|
57
|
+
{% set _accordionItems = accordionItems.append({
|
|
58
|
+
"heading": {
|
|
59
|
+
"text": option.label
|
|
60
|
+
},
|
|
61
|
+
"summary": {
|
|
62
|
+
"html": option.description
|
|
63
|
+
} if option.description,
|
|
64
|
+
"content": {
|
|
65
|
+
"html": govukCheckboxes({
|
|
66
|
+
"name": name,
|
|
67
|
+
"idPrefix": "input-" + name + '-' + loop.index | string,
|
|
68
|
+
"items": checkboxItems,
|
|
69
|
+
"classes": "govuk-checkboxes--small"
|
|
70
|
+
})
|
|
71
|
+
}
|
|
72
|
+
}) %}
|
|
73
|
+
{% endfor %}
|
|
74
|
+
|
|
75
|
+
{{ govukAccordion({
|
|
76
|
+
"id": "accordion-" + name,
|
|
77
|
+
"items": accordionItems
|
|
78
|
+
}) }}
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
{% endcall %}
|
|
82
|
+
</div>
|
|
83
|
+
{% endmacro %}
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
{{ digitalmarketplaceQuestionPricingHidden(params) }}
|
|
95
95
|
{% elif params.type == 'date' %}
|
|
96
96
|
{{ digitalmarketplaceQuestionDateHidden(params) }}
|
|
97
|
-
{% elif params.type in ['checkboxes', 'checkbox_tree', 'list'] %}
|
|
97
|
+
{% elif params.type in ['checkboxes', 'checkbox_tree', 'checkbox_tree_large', 'list'] %}
|
|
98
98
|
{{ digitalmarketplaceQuestionCheckboxesHidden(params) }}
|
|
99
99
|
{% elif params.type == 'multiquestion' %}
|
|
100
100
|
{{ digitalmarketplaceQuestionMultiquestionHidden(params) }}
|
|
@@ -15,23 +15,23 @@
|
|
|
15
15
|
<ul class="dm-document-upload-list">
|
|
16
16
|
<li class="dm-document-list-item">
|
|
17
17
|
<div class="govuk-grid-row">
|
|
18
|
-
<div class="govuk-grid-column-two-thirds">
|
|
18
|
+
<div class="govuk-grid-column-{{ 'two-thirds' if params.question.optional else 'full' }}">
|
|
19
19
|
<div class="dm-document-upload-with-icon">
|
|
20
20
|
<span class="dm-document-icon"></span>
|
|
21
21
|
Document uploaded {{ value | parse_document_upload_time | datetimeformat }}
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
24
|
+
{% if params.question.optional %}
|
|
25
|
+
<div class="govuk-grid-column-one-third">
|
|
26
|
+
{{ govukButton({
|
|
27
|
+
"text": "Remove upload",
|
|
28
|
+
"name": "remove-upload",
|
|
29
|
+
"value": name,
|
|
30
|
+
"classes": "govuk-button--secondary",
|
|
31
|
+
"preventDoubleClick": true
|
|
32
|
+
}) }}
|
|
33
|
+
</div>
|
|
34
|
+
{% endif %}
|
|
35
35
|
</div>
|
|
36
36
|
</li>
|
|
37
37
|
</ul>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{{ digitalmarketplaceSummaryContentNumber({
|
|
35
35
|
"value": params.value
|
|
36
36
|
}) }}
|
|
37
|
-
{% elif params.type == 'checkbox_tree' %}
|
|
37
|
+
{% elif params.type == 'checkbox_tree' or params.type == 'checkbox_tree_large' %}
|
|
38
38
|
{{ digitalmarketplaceSummaryContentCheckboxTree({
|
|
39
39
|
"value": params.value
|
|
40
40
|
}) }}
|
|
@@ -26,13 +26,13 @@ Changelog = "https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-
|
|
|
26
26
|
|
|
27
27
|
[project.optional-dependencies]
|
|
28
28
|
dev = [
|
|
29
|
-
'flake8',
|
|
30
|
-
'mypy',
|
|
31
|
-
'pytest',
|
|
32
|
-
'lxml',
|
|
33
|
-
'xmldiff',
|
|
34
|
-
'flask',
|
|
35
|
-
'pre-commit',
|
|
29
|
+
'flake8==7.3.0',
|
|
30
|
+
'mypy==1.16.1',
|
|
31
|
+
'pytest==8.4.1',
|
|
32
|
+
'lxml==5.4.0',
|
|
33
|
+
'xmldiff==2.7.0',
|
|
34
|
+
'flask==3.1.1',
|
|
35
|
+
'pre-commit==4.2.0',
|
|
36
36
|
]
|
|
37
37
|
|
|
38
38
|
[tool.setuptools.dynamic]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '4.8.0'
|
{ccs_digitalmarketplace_frontend_jinja-4.8.0 → ccs_digitalmarketplace_frontend_jinja-4.9.1}/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
|