great-components 2.4.0__py3-none-any.whl → 2.5.0__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.
@@ -64,12 +64,14 @@ class GA360Mixin:
64
64
  self.ga360_payload = {}
65
65
  super().__init__(*args, **kwargs)
66
66
 
67
- def set_ga360_payload(self, page_id, business_unit, site_section, site_subsection=None):
67
+ def set_ga360_payload(self, page_id, business_unit, site_section, site_subsection=None, referer_url=None):
68
68
  self.ga360_payload['page_id'] = page_id
69
69
  self.ga360_payload['business_unit'] = business_unit
70
70
  self.ga360_payload['site_section'] = site_section
71
71
  if site_subsection:
72
72
  self.ga360_payload['site_subsection'] = site_subsection
73
+ if referer_url:
74
+ self.ga360_payload['referer_url'] = referer_url
73
75
 
74
76
  def get_context_data(self, *args, **kwargs):
75
77
  user = helpers.get_user(self.request)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: great-components
3
- Version: 2.4.0
3
+ Version: 2.5.0
4
4
  Summary: Shared components library for Great services.
5
5
  Home-page: https://github.com/uktrade/great-components
6
6
  Author: DIT
@@ -7,7 +7,7 @@ great_components/context_processors.py,sha256=YkJPBLrrYnDYUHCpQP1shHommdj5NhgL-a
7
7
  great_components/decorators.py,sha256=dgT0IxSN0uTlCSzsAdGU9NsR9hqouk0YPkNNzefRKtE,311
8
8
  great_components/helpers.py,sha256=kOQqv4v2DSY5iKyseWnrMLawoa381GPRMgC7oHN3uCM,6908
9
9
  great_components/middleware.py,sha256=9dVTTbMlTBnwcmDB3CDi6DGQrxiecOwY-Dg7lEOC_OQ,7361
10
- great_components/mixins.py,sha256=HRpV9YjN4zz8y9dlVnKJykDQr5KojNNF-nQH9FZFrNo,3009
10
+ great_components/mixins.py,sha256=GTMV82AV5tUcuLy07jXPeAPIoqTeYph0SEDlu4mAcx0,3111
11
11
  great_components/views.py,sha256=N2F6kvJUMmW9OQCIPcH16KMLlNhD_nrOTz_m0bnExZo,544
12
12
  great_components/forms/__init__.py,sha256=hKKA3w8GBglzmszrK3-z3n8DSRBKcBe9_TLrC52YbLI,153
13
13
  great_components/forms/fields.py,sha256=1N8hqFhVrZRgGIXDHzA8fH85XtI6B3ZyiWkZDXh0LOg,6044
@@ -634,8 +634,8 @@ great_components/templates/great_components/header_footer/search.html,sha256=SVU
634
634
  great_components/templates/great_components/header_footer/sso_login.html,sha256=IasiMYwuaTDbwpwYa2gLJcEQRIqZcZHGCpeh7Awvw9M,463
635
635
  great_components/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
636
636
  great_components/templatetags/great_components.py,sha256=VtVJpVHfYZ5zb4qlpFF8mbfs2nXLqjguYLV6iO8tXX0,12230
637
- great_components-2.4.0.dist-info/LICENSE,sha256=q4QjlbTN37umB_xq3DRmS0qvT2tMO_5_-u0WWzYcDQE,1091
638
- great_components-2.4.0.dist-info/METADATA,sha256=upkHD0G6HQOZD1NknKbxjZpS_qTY2kwQqVUeSjc5hJY,10633
639
- great_components-2.4.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
640
- great_components-2.4.0.dist-info/top_level.txt,sha256=aI2xcjZzpL8o3QuUGQB5YkqHOknVkFwQOSZQiaNqRHU,22
641
- great_components-2.4.0.dist-info/RECORD,,
637
+ great_components-2.5.0.dist-info/LICENSE,sha256=q4QjlbTN37umB_xq3DRmS0qvT2tMO_5_-u0WWzYcDQE,1091
638
+ great_components-2.5.0.dist-info/METADATA,sha256=5_-ipJrtLjzFoj9ttmhT4O6OXuW03AFmfi6wRNsmX0k,10633
639
+ great_components-2.5.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
640
+ great_components-2.5.0.dist-info/top_level.txt,sha256=aI2xcjZzpL8o3QuUGQB5YkqHOknVkFwQOSZQiaNqRHU,22
641
+ great_components-2.5.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5