ccs-digitalmarketplace-frontend-jinja 4.13.0__tar.gz → 4.13.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.
Files changed (76) hide show
  1. {ccs_digitalmarketplace_frontend_jinja-4.13.0/ccs_digitalmarketplace_frontend_jinja.egg-info → ccs_digitalmarketplace_frontend_jinja-4.13.1}/PKG-INFO +2 -1
  2. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/README.md +1 -0
  3. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1/ccs_digitalmarketplace_frontend_jinja.egg-info}/PKG-INFO +2 -1
  4. ccs_digitalmarketplace_frontend_jinja-4.13.1/digitalmarketplace_frontend_jinja/__init__.py +1 -0
  5. ccs_digitalmarketplace_frontend_jinja-4.13.1/digitalmarketplace_frontend_jinja/templates/components/summary-content-formula/macro.html +47 -0
  6. ccs_digitalmarketplace_frontend_jinja-4.13.0/digitalmarketplace_frontend_jinja/__init__.py +0 -1
  7. ccs_digitalmarketplace_frontend_jinja-4.13.0/digitalmarketplace_frontend_jinja/templates/components/summary-content-formula/macro.html +0 -29
  8. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/LICENCE +0 -0
  9. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/MANIFEST.in +0 -0
  10. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/SOURCES.txt +0 -0
  11. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/dependency_links.txt +0 -0
  12. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/requires.txt +0 -0
  13. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/ccs_digitalmarketplace_frontend_jinja.egg-info/top_level.txt +0 -0
  14. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/alert/macro.html +0 -0
  15. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/attachment/macro.html +0 -0
  16. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/banner/macro.html +0 -0
  17. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/character-count-from-form/macro.html +0 -0
  18. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/checkboxes-from-form/macro.html +0 -0
  19. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/compliance-communication-attachment-row/macro.html +0 -0
  20. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/compliance-communication-attachments/macro.html +0 -0
  21. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/cookie-banner/macro.html +0 -0
  22. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/documents/macro.html +0 -0
  23. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/file-upload-from-form/macro.html +0 -0
  24. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/footer/macro.html +0 -0
  25. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/header/macro.html +0 -0
  26. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/input-from-form/macro.html +0 -0
  27. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/list-input/macro.html +0 -0
  28. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/option-select/macro.html +0 -0
  29. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/previous-next-pagination/macro.html +0 -0
  30. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question/macro.html +0 -0
  31. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-boolean/macro.html +0 -0
  32. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-character-count/macro.html +0 -0
  33. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree/macro.html +0 -0
  34. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-checkbox-tree-large/macro.html +0 -0
  35. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-checkboxes/macro.html +0 -0
  36. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-date/macro.html +0 -0
  37. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-format-hint/macro.html +0 -0
  38. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-formula/macro.html +0 -0
  39. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-hidden/macro.html +0 -0
  40. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-list/macro.html +0 -0
  41. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion/macro.html +0 -0
  42. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion-client-side/macro.html +0 -0
  43. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-list-multiquestion-server-side/macro.html +0 -0
  44. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-money/macro.html +0 -0
  45. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-multiquestion/macro.html +0 -0
  46. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-number/macro.html +0 -0
  47. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-pricing/macro.html +0 -0
  48. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-radios/macro.html +0 -0
  49. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-select/macro.html +0 -0
  50. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-text/macro.html +0 -0
  51. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/question-upload/macro.html +0 -0
  52. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/radios-from-form/macro.html +0 -0
  53. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/search-box/macro.html +0 -0
  54. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/select-country-from-form/macro.html +0 -0
  55. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content/macro.html +0 -0
  56. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-boolean/macro.html +0 -0
  57. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-checkbox-tree/macro.html +0 -0
  58. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-list/macro.html +0 -0
  59. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-list-multiquestion/macro.html +0 -0
  60. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-multiquestion/macro.html +0 -0
  61. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-number/macro.html +0 -0
  62. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-radios/macro.html +0 -0
  63. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-service-id/macro.html +0 -0
  64. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-text/macro.html +0 -0
  65. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/summary-content-upload/macro.html +0 -0
  66. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/system-message-banner/macro.html +0 -0
  67. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/components/temporary-message/macro.html +0 -0
  68. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/errors/400.html +0 -0
  69. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/errors/403.html +0 -0
  70. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/errors/404.html +0 -0
  71. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/errors/410.html +0 -0
  72. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/errors/500.html +0 -0
  73. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/layouts/_custom_dimensions.html +0 -0
  74. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/digitalmarketplace_frontend_jinja/templates/layouts/_site_verification.html +0 -0
  75. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.1}/pyproject.toml +0 -0
  76. {ccs_digitalmarketplace_frontend_jinja-4.13.0 → ccs_digitalmarketplace_frontend_jinja-4.13.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.13.0
3
+ Version: 4.13.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.13.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.13.1) | [3.13.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.13.1) |
44
45
  | [4.13.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.13.0) | [3.13.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.13.0) |
45
46
  | [4.12.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.12.1) | [3.12.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.12.1) |
46
47
  | [4.12.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.12.0) | [3.12.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.12.0) |
@@ -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.13.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.13.1) | [3.13.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.13.1) |
19
20
  | [4.13.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.13.0) | [3.13.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.13.0) |
20
21
  | [4.12.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.12.1) | [3.12.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.12.1) |
21
22
  | [4.12.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.12.0) | [3.12.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.12.0) |
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccs-digitalmarketplace-frontend-jinja
3
- Version: 4.13.0
3
+ Version: 4.13.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.13.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.13.1) | [3.13.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.13.1) |
44
45
  | [4.13.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.13.0) | [3.13.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.13.0) |
45
46
  | [4.12.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.12.1) | [3.12.1](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.12.1) |
46
47
  | [4.12.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-frontend-jinja/releases/tag/4.12.0) | [3.12.0](https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-govuk-frontend/releases/tag/v3.12.0) |
@@ -0,0 +1,47 @@
1
+ {% macro digitalmarketplaceSummaryContentFormula(params) %}
2
+ {%- from "govuk_frontend_jinja/components/summary-list/macro.html" import govukSummaryList -%}
3
+
4
+ {%- if params.value -%}
5
+ {%- set summaryListRows = [] -%}
6
+
7
+ {%- for question in params.value %}
8
+ {%- if question.operation and question.operation_position == "before" -%}
9
+ {%- set _summaryListRows = summaryListRows.append({
10
+ "key": {
11
+ "text": question.operation
12
+ },
13
+ "value": {
14
+ "text": question.operation
15
+ }
16
+ }) -%}
17
+ {%- endif -%}
18
+
19
+ {%- set _summaryListRows = summaryListRows.append({
20
+ "key": {
21
+ "text": question.name if question.name else question.question
22
+ },
23
+ "value": {
24
+ 'text': question.value
25
+ }
26
+ }) -%}
27
+
28
+ {%- if question.operation and question.operation_position == "after" -%}
29
+ {%- set _summaryListRows = summaryListRows.append({
30
+ "key": {
31
+ "text": question.operation
32
+ },
33
+ "value": {
34
+ "text": question.operation
35
+ }
36
+ }) -%}
37
+ {%- endif -%}
38
+ {%- endfor -%}
39
+
40
+ <hr class="govuk-section-break govuk-section-break--visible">
41
+ {{ govukSummaryList({
42
+ "rows": summaryListRows,
43
+ "classes": 'dm-summary-content-formula'
44
+ }) }}
45
+ <hr class="govuk-section-break govuk-section-break--visible">
46
+ {%- endif -%}
47
+ {% endmacro %}
@@ -1,29 +0,0 @@
1
- {% macro digitalmarketplaceSummaryContentFormula(params) %}
2
- {%- from "govuk_frontend_jinja/components/table/macro.html" import govukTable -%}
3
-
4
- {%- if params.value -%}
5
- {%- set tableHead = [] -%}
6
- {%- set tableRow = [] -%}
7
-
8
- {%- for question in params.value %}
9
- {%- if question.operation and question.operation_position == "before" -%}
10
- {%- set _tableHead = tableHead.append({ "text": question.operation }) -%}
11
- {%- set _tableRow = tableRow.append({ "text": question.operation }) -%}
12
- {%- endif -%}
13
-
14
- {%- set _tableHead = tableHead.append({ "text": question.name }) -%}
15
- {%- set _tableRow = tableRow.append({ "text": question.value }) -%}
16
-
17
- {%- if question.operation and question.operation_position == "after" -%}
18
- {%- set _tableHead = tableHead.append({ "text": question.operation }) -%}
19
- {%- set _tableRow = tableRow.append({ "text": question.operation }) -%}
20
- {%- endif -%}
21
- {%- endfor -%}
22
-
23
- {{ govukTable({
24
- "head": tableHead,
25
- "rows": [tableRow],
26
- "classes": 'dm-summary-content-formula'
27
- }) }}
28
- {%- endif -%}
29
- {% endmacro %}