great-components 2.6.2__py3-none-any.whl → 2.6.4__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.
@@ -18,10 +18,7 @@
18
18
  {% endblock %}
19
19
  <meta charset="utf-8" />
20
20
  <meta name="viewport" content="width=device-width, initial-scale=1">
21
- <title>
22
- {% block head_title %}{% endblock %}
23
- </title>
24
-
21
+
25
22
  {% block head_favicon %}
26
23
  <link href='{% static 'great_components/images/favicon-192x192.png' %}' rel='shortcut icon' type='image/png'>
27
24
  <!--[if IE]> <link rel="icon" href="{% static 'great_components/images/favicon.ico' %}" type="image/x-icon" /> <![endif]-->
@@ -78,10 +75,6 @@
78
75
  {% block head_other %}{% endblock %}
79
76
 
80
77
  {% block head_sharing_metadata %}
81
- {% if request %}
82
- <meta property="og:image" content="{% static_absolute 'great_components/images/opengraph-image.png' %}">
83
- <meta property="og:url" content="{{ request.build_absolute_uri }}" />
84
- {% endif %}
85
78
  {% endblock %}
86
79
  </head>
87
80
 
@@ -292,12 +292,11 @@ class Breadcrumbs(template.Node):
292
292
  element.append(link)
293
293
  output_soup.find('ol').append(element)
294
294
 
295
- # adding the current page
296
- # DEU 24/1/2024 KLS-1882 - dont add current page to Breadcrumb
297
- # current = template.Variable(self.bit).resolve(context)
298
- # output_soup.find('ol').append(
299
- # f'<li aria-current="page"><span>{current}</span></li>'
300
- # )
295
+ # remove tabbing through breadcrumbs
296
+ output = output_soup.findAll('a')
297
+ for anchor in output:
298
+ anchor['tabindex'] = '-1'
299
+
301
300
  return output_soup.decode(formatter=None)
302
301
 
303
302
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: great-components
3
- Version: 2.6.2
3
+ Version: 2.6.4
4
4
  Summary: Shared components library for Great services.
5
5
  Home-page: https://github.com/uktrade/great-components
6
6
  Author: DIT
@@ -584,7 +584,7 @@ great_components/templates/500.html,sha256=8gQepigFhX3ooOB3XpBJK-_3ILIiAOVtM_003
584
584
  great_components/templates/robots.txt,sha256=iLgUdHUsrmmiZ-mzAxJKHp442e8qFavYVXEgvnFzShs,188
585
585
  great_components/templates/great_components/accordion_item.html,sha256=rBPcgqrgpajUlASo7GO878By9lGYXWuocaa2qGmE6vs,300
586
586
  great_components/templates/great_components/accordion_list.html,sha256=dqW7I9QIYlVcKg52otNKyOQqb8A-9ZZ1iZvQLFCXG-U,152
587
- great_components/templates/great_components/base.html,sha256=gJQm8-SYx1LvcDncCvM1rVcGk6Xil8bCq8FnYvsPlak,5368
587
+ great_components/templates/great_components/base.html,sha256=Zi0ceCW-GYFM0LWBYiU-2yCyg1au3yl8dXEOPgtr-W0,5034
588
588
  great_components/templates/great_components/card.html,sha256=F5TCQPVipsxsM8dIvh5efw9_TIt4pNmhFXES4nRCGwU,1530
589
589
  great_components/templates/great_components/card_with_icon.html,sha256=p56753yvy3h4DhSDPeDnbR8fx0zE-mHJM9p0hpnoBjM,826
590
590
  great_components/templates/great_components/case_study.html,sha256=dgIz3cEH0YSgr8LrmnwSH85byGcXr-eUBpC7Sy96bWc,912
@@ -633,9 +633,9 @@ great_components/templates/great_components/header_footer/mobile_menu_button.htm
633
633
  great_components/templates/great_components/header_footer/search.html,sha256=SVUDiSx23DqsCeR0TBHjNNBsK0rOgclgeddL4ge1Ia4,385
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
- great_components/templatetags/great_components.py,sha256=tV2LdQPWKn8p7KVMG0p5biiAfC4xHop85ML9XY6Vv4c,12309
637
- great_components-2.6.2.dist-info/LICENSE,sha256=q4QjlbTN37umB_xq3DRmS0qvT2tMO_5_-u0WWzYcDQE,1091
638
- great_components-2.6.2.dist-info/METADATA,sha256=wykLwr3dtnF8ikJAmIhgDMJ0dWitZKSrrGBcKAzQG2g,10629
639
- great_components-2.6.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
640
- great_components-2.6.2.dist-info/top_level.txt,sha256=aI2xcjZzpL8o3QuUGQB5YkqHOknVkFwQOSZQiaNqRHU,22
641
- great_components-2.6.2.dist-info/RECORD,,
636
+ great_components/templatetags/great_components.py,sha256=O_zVpOvZMHwhCpyq4JmmYu_iGwvaFsIP6lDn_ihtOVs,12173
637
+ great_components-2.6.4.dist-info/LICENSE,sha256=q4QjlbTN37umB_xq3DRmS0qvT2tMO_5_-u0WWzYcDQE,1091
638
+ great_components-2.6.4.dist-info/METADATA,sha256=p3xJlPySDnS0pbl46zYD7gBv6JVrsIAG38nPLt93zHI,10629
639
+ great_components-2.6.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
640
+ great_components-2.6.4.dist-info/top_level.txt,sha256=aI2xcjZzpL8o3QuUGQB5YkqHOknVkFwQOSZQiaNqRHU,22
641
+ great_components-2.6.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5