diff --git a/packages/gafl-webapp-service/assets/sass/main.scss b/packages/gafl-webapp-service/assets/sass/main.scss index c5a306c245..19fddfc4e6 100644 --- a/packages/gafl-webapp-service/assets/sass/main.scss +++ b/packages/gafl-webapp-service/assets/sass/main.scss @@ -6,7 +6,8 @@ $govuk-fonts-path: '#{$govuk-assets-path}fonts/'; @import '../node_modules/govuk-frontend/govuk/all'; @import '../assets/sass/rod-licensing/general'; @import '../node_modules/flatpickr/dist/flatpickr'; +@import '../assets/sass/rod-licensing/address'; @import '../assets/sass/rod-licensing/calendar'; @import '../assets/sass/rod-licensing/cookie_banner'; +@import '../assets/sass/rod-licensing/pricing_summary'; @import '../assets/sass/rod-licensing/table_extras'; -@import '../assets/sass/rod-licensing/address'; diff --git a/packages/gafl-webapp-service/assets/sass/rod-licensing/_pricing_summary.scss b/packages/gafl-webapp-service/assets/sass/rod-licensing/_pricing_summary.scss new file mode 100644 index 0000000000..d49b7ab207 --- /dev/null +++ b/packages/gafl-webapp-service/assets/sass/rod-licensing/_pricing_summary.scss @@ -0,0 +1,8 @@ +.pricing-summary-element-cost dd { + margin: 0; + display: inline; +} + +.pricing-summary-element-cost dt { + display: inline; +} diff --git a/packages/gafl-webapp-service/src/pages/macros/pricing-summary.njk b/packages/gafl-webapp-service/src/pages/macros/pricing-summary.njk index 4a910a1b90..2e778a2a65 100644 --- a/packages/gafl-webapp-service/src/pages/macros/pricing-summary.njk +++ b/packages/gafl-webapp-service/src/pages/macros/pricing-summary.njk @@ -4,24 +4,32 @@

{{ mssgs.no_licence_req_body }}

{{ subHeader }}

+
+ {% for k, v in load %} + {% if content[k].desc %} +
+
+ {{content[k].desc}} +
+
+ {% if v.cost === "0" %} + {{ mssgs.free }} + {% else %} + {{ mssgs.pound }}{{ v.cost }} + {% endif %} + {% if v.concessions %} +
+ {{ mssgs.concession_applied }} +
+ {% endif %} +
+
+ {% endif %} + {% endfor %} +
{% for k, v in load %} - {% if content[k].desc %} -
- {{content[k].desc}} - {% if v.cost === "0" %} - {{ mssgs.free }} - {% else %} - {{ mssgs.pound }}{{ v.cost }} - {% endif %} - {% if v.concessions %} -
- {{ mssgs.concession_applied }} -
- {% endif %} -
- {% endif %} {% if k === 'msg' %} -
+
{{content[v]}}
{% endif %}