ccs-digitalmarketplace-frontend-jinja 4.9.0__py3-none-any.whl → 4.9.1__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccs-digitalmarketplace-frontend-jinja
3
- Version: 4.9.0
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
@@ -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.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) |
44
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) |
45
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) |
46
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) |
@@ -1,5 +1,5 @@
1
- ccs_digitalmarketplace_frontend_jinja-4.9.0.dist-info/licenses/LICENCE,sha256=GbPuM26UomDfs5sMy6udIVXYC8grPSN7bSkO29-F5hI,1110
2
- digitalmarketplace_frontend_jinja/__init__.py,sha256=TGjqTJXDefd_lENnFYB6xPAor-aV9NiN2jxNvO-G1FA,22
1
+ ccs_digitalmarketplace_frontend_jinja-4.9.1.dist-info/licenses/LICENCE,sha256=GbPuM26UomDfs5sMy6udIVXYC8grPSN7bSkO29-F5hI,1110
2
+ digitalmarketplace_frontend_jinja/__init__.py,sha256=xO_U6E-yxaoT5EduONVRy_VPpXocMsQGZheueHdgSpo,22
3
3
  digitalmarketplace_frontend_jinja/templates/components/alert/macro.html,sha256=W4hQmVTEOTSON6ypLoV3cJNgBcCYN1akxy-Y1QZH8X0,992
4
4
  digitalmarketplace_frontend_jinja/templates/components/attachment/macro.html,sha256=0Fi8QqqwmPpZ3UBOjCDiUkfSOYxMYyTlBngnPJrZ7Zo,6452
5
5
  digitalmarketplace_frontend_jinja/templates/components/banner/macro.html,sha256=AsPQydTvw-SwcgczVZmbdlGMXT0SoilvhAtKrTskpME,905
@@ -11,7 +11,7 @@ digitalmarketplace_frontend_jinja/templates/components/cookie-banner/macro.html,
11
11
  digitalmarketplace_frontend_jinja/templates/components/documents/macro.html,sha256=EbAsdIIMZrv6G1pV_6lQ1IWNl00vIkqNL-XoxEFqTPc,1103
12
12
  digitalmarketplace_frontend_jinja/templates/components/file-upload-from-form/macro.html,sha256=OSBAykGawAnJ4iTwILasP9noguoksWl4XdB9TSA6uAg,852
13
13
  digitalmarketplace_frontend_jinja/templates/components/footer/macro.html,sha256=LlrwA2zxQFvMolJL42C9qeZPusrFGLel-j1xqLNLRpc,2829
14
- digitalmarketplace_frontend_jinja/templates/components/header/macro.html,sha256=Gk-fygWWhx91bBOC3mgZIPiE85m3V8LXTw_-z58RDdc,2236
14
+ digitalmarketplace_frontend_jinja/templates/components/header/macro.html,sha256=nlsN4yGnKYuH7zBIJbLzCDViheGPIou_PsbtAAqTMhE,2399
15
15
  digitalmarketplace_frontend_jinja/templates/components/input-from-form/macro.html,sha256=0dywXvofmpkTR77m5ybKvmzTTO1WaG9QVK-WCgRw33E,899
16
16
  digitalmarketplace_frontend_jinja/templates/components/list-input/macro.html,sha256=MW0PA2jNKFaYJQtYrcEYBVTDBbFa7NL07QCXS3ozQhE,5756
17
17
  digitalmarketplace_frontend_jinja/templates/components/option-select/macro.html,sha256=YhQXBlqjPbONv1hTlaTMbEj4SO3wf-FAbeBETYpEB7c,2134
@@ -60,7 +60,7 @@ digitalmarketplace_frontend_jinja/templates/errors/410.html,sha256=ub7W3MRbIPQvj
60
60
  digitalmarketplace_frontend_jinja/templates/errors/500.html,sha256=x1Lu8ATSPGGSXvjj1ZHVq-h9eBWLiUK2MxPHwqZCiDQ,408
61
61
  digitalmarketplace_frontend_jinja/templates/layouts/_custom_dimensions.html,sha256=SglUULyYlEWLWYQ7luwKONuI2BnWbOnd5MOIblKZR3E,731
62
62
  digitalmarketplace_frontend_jinja/templates/layouts/_site_verification.html,sha256=6YWaREd5cPw1u5V9zsVaCOWG_uJ9SUMNdZj9fLK2jU8,142
63
- ccs_digitalmarketplace_frontend_jinja-4.9.0.dist-info/METADATA,sha256=JrSw5lFFDQ7oHJWKzSTzoBytdbtkVMPqOuow4rs8m0M,15742
64
- ccs_digitalmarketplace_frontend_jinja-4.9.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
65
- ccs_digitalmarketplace_frontend_jinja-4.9.0.dist-info/top_level.txt,sha256=MeEUNXXhcYp_c2URA_Npkpxj50E3hc3Eir0PWJjNIrw,34
66
- ccs_digitalmarketplace_frontend_jinja-4.9.0.dist-info/RECORD,,
63
+ ccs_digitalmarketplace_frontend_jinja-4.9.1.dist-info/METADATA,sha256=UV2JAOYQ-hnnlt_-eD-ubzLLMm4GNiWDwEKAI_8R7HA,15969
64
+ ccs_digitalmarketplace_frontend_jinja-4.9.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
65
+ ccs_digitalmarketplace_frontend_jinja-4.9.1.dist-info/top_level.txt,sha256=MeEUNXXhcYp_c2URA_Npkpxj50E3hc3Eir0PWJjNIrw,34
66
+ ccs_digitalmarketplace_frontend_jinja-4.9.1.dist-info/RECORD,,
@@ -1 +1 @@
1
- __version__ = '4.9.0'
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 headerNavigation = [
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 headerNavigation = [
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 headerNavigation = [
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': headerNavigation,
70
+ 'navigation': serviceNavigation,
69
71
  'serviceName': productName,
70
- 'serviceUrl': '/'
72
+ 'serviceUrl': '/',
73
+ 'classes': adminServiceNavigationClass
71
74
  }) }}
72
75
  {% endmacro %}