metadata_presenter 3.4.21 → 3.4.22

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e55fbac408acff25c20d54f09d6419592cfa3f3a194d29749f8c07bb2093b4c
4
- data.tar.gz: 1c720c85722a9b8dacfa17777063dfce4a7c14f981aec4cd2de7800fb99142a2
3
+ metadata.gz: 575abd201e79c766a357f795d8852ce9e0b712ac91a8d01b9707d83bb2b42416
4
+ data.tar.gz: 1da7363bb634ec21af2cc722c25cba7baa8269d7334d4316c8e53af3fd9d1a12
5
5
  SHA512:
6
- metadata.gz: 534166a75e726695dd661d35e54067026c61cf791bcd2394ca16d8fed815e4072fb15420d706259a4d0c6bdb4fc40f0fa8829525bc5820e1576b973cdb69d1be
7
- data.tar.gz: 0eda2fd9fdc16ba7ebd6a8f5d56eb13f83a9f188f803c83732c274281bc3eb1405da1f4dafdcdeabe92f2bb0df8d8590c8e742fb5ef67e60b683155d47425790
6
+ metadata.gz: 2a6b70b584e00c8743d2b8fae59150e5ff7f95ce6eca361a724c2c12b150e9d422a5a082a1ead9558da30401437dd5d1e0fb1090a8a95565cc0ce3a5a6522b49
7
+ data.tar.gz: 427b416f3b329be1cae7e7e23f81e6576b43e2836e3e4a312ac0912ff50ba14281ba8192f8278da36b30dfe90338f74f42efd1d7e4deff6fb3ac320dafe927ef
@@ -8,12 +8,10 @@
8
8
 
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
10
10
  <meta name="robots" content="noindex">
11
- <link rel="shortcut icon" sizes="16x16 32x32 48x48" href="<%= asset_pack_url('static/favicon.ico') %>" type="image/x-icon" />
12
- <link rel="mask-icon" href="<%= asset_pack_url('static/govuk-mask-icon.svg') %>" color="blue">
13
- <link rel="apple-touch-icon" sizes="180x180" href="<%= asset_pack_url('static/govuk-apple-touch-icon-180x180.png') %>">
14
- <link rel="apple-touch-icon" sizes="167x167" href="<%= asset_pack_url('static/govuk-apple-touch-icon-167x167.png') %>">
15
- <link rel="apple-touch-icon" sizes="152x152" href="<%= asset_pack_url('static/govuk-apple-touch-icon-152x152.png') %>">
16
- <link rel="apple-touch-icon" href="<%= asset_pack_url('static/govuk-apple-touch-icon.png') %>">
11
+ <link rel="icon" sizes="48x48" href="<%= asset_pack_url('static/favicon.ico') %>" type="image/x-icon">
12
+ <link rel="icon" sizes="any" href="<%= asset_pack_url('static/favicon.svg') %>" type="image/svg+xml">
13
+ <link rel="mask-icon" href="<%= asset_pack_url('static/govuk-icon-mask.svg') %>" color="#1d70b8">
14
+ <link rel="apple-touch-icon" href="<%= asset_pack_url('static/govuk-icon-180.png') %>">
17
15
 
18
16
  <%= javascript_pack_tag 'runner_application', 'govuk', defer: true %>
19
17
  <%= stylesheet_pack_tag 'govuk', 'runner_application', media: 'all' %>
@@ -25,7 +23,7 @@
25
23
 
26
24
  <body class="govuk-template__body">
27
25
  <script nonce=<%= request.content_security_policy_nonce %>>
28
- document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
26
+ document.body.className += ' js-enabled' + ('noModule' in HTMLScriptElement.prototype ? ' govuk-frontend-supported' : '');
29
27
  </script>
30
28
 
31
29
 
@@ -13,7 +13,7 @@
13
13
  </span>
14
14
  </div>
15
15
  <div class="govuk-footer__meta-item">
16
- <a class="govuk-footer__link fb-govuk-footer__copyright-logo"
16
+ <a class="govuk-footer__link govuk-footer__copyright-logo"
17
17
  href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">
18
18
  <%= t('presenter.meta.copyright') %>
19
19
  </a>
@@ -5,31 +5,46 @@
5
5
  <header class="govuk-header" role="banner" data-module="govuk-header">
6
6
  <div class="govuk-header__container govuk-width-container">
7
7
  <div class="govuk-header__logo">
8
- <a href="<%= t('presenter.header.govuk_url') %>" class="govuk-header__link govuk-header__link--homepage">
9
- <span class="govuk-header__logotype">
10
- <svg
11
- aria-hidden="true"
12
- focusable="false"
13
- class="govuk-header__logotype-crown"
14
- xmlns="http://www.w3.org/2000/svg"
15
- viewBox="0 0 32 30"
16
- height="30"
17
- width="32"
18
- >
19
- <path
20
- fill="currentColor" fill-rule="evenodd"
21
- d="M22.6 10.4c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4m-5.9 6.7c-.9.4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4m10.8-3.7c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s0 2-1 2.4m3.3 4.8c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4M17 4.7l2.3 1.2V2.5l-2.3.7-.2-.2.9-3h-3.4l.9 3-.2.2c-.1.1-2.3-.7-2.3-.7v3.4L15 4.7c.1.1.1.2.2.2l-1.3 4c-.1.2-.1.4-.1.6 0 1.1.8 2 1.9 2.2h.7c1-.2 1.9-1.1 1.9-2.1 0-.2 0-.4-.1-.6l-1.3-4c-.1-.2 0-.2.1-.3m-7.6 5.7c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s0 2 1 2.4m-5 3c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s.1 2 1 2.4m-3.2 4.8c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s0 2 1 2.4m14.8 11c4.4 0 8.6.3 12.3.8 1.1-4.5 2.4-7 3.7-8.8l-2.5-.9c.2 1.3.3 1.9 0 2.7-.4-.4-.8-1.1-1.1-2.3l-1.2 4c.7-.5 1.3-.8 2-.9-1.1 2.5-2.6 3.1-3.5 3-1.1-.2-1.7-1.2-1.5-2.1.3-1.2 1.5-1.5 2.1-.1 1.1-2.3-.8-3-2-2.3 1.9-1.9 2.1-3.5.6-5.6-2.1 1.6-2.1 3.2-1.2 5.5-1.2-1.4-3.2-.6-2.5 1.6.9-1.4 2.1-.5 1.9.8-.2 1.1-1.7 2.1-3.5 1.9-2.7-.2-2.9-2.1-2.9-3.6.7-.1 1.9.5 2.9 1.9l.4-4.3c-1.1 1.1-2.1 1.4-3.2 1.4.4-1.2 2.1-3 2.1-3h-5.4s1.7 1.9 2.1 3c-1.1 0-2.1-.2-3.2-1.4l.4 4.3c1-1.4 2.2-2 2.9-1.9-.1 1.5-.2 3.4-2.9 3.6-1.9.2-3.4-.8-3.5-1.9-.2-1.3 1-2.2 1.9-.8.7-2.3-1.2-3-2.5-1.6.9-2.2.9-3.9-1.2-5.5-1.5 2-1.3 3.7.6 5.6-1.2-.7-3.1 0-2 2.3.6-1.4 1.8-1.1 2.1.1.2.9-.3 1.9-1.5 2.1-.9.2-2.4-.5-3.5-3 .6 0 1.2.3 2 .9l-1.2-4c-.3 1.1-.7 1.9-1.1 2.3-.3-.8-.2-1.4 0-2.7l-2.9.9C1.3 23 2.6 25.5 3.7 30c3.7-.5 7.9-.8 12.3-.8"></path>
22
- </svg>
23
- <span class="govuk-header__logotype-text">
24
- GOV.UK
25
- </span>
26
- </span>
8
+ <a href="<%= t('presenter.header.govuk_url') %>" class="govuk-header__homepage-link">
9
+ <svg
10
+ focusable="false"
11
+ role="img"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ viewBox="0 0 324 60"
14
+ height="30"
15
+ width="162"
16
+ fill="currentColor"
17
+ class="govuk-header__logotype"
18
+ aria-label="GOV.UK"
19
+ >
20
+ <title>GOV.UK</title>
21
+ <g>
22
+ <circle cx="20" cy="17.6" r="3.7"></circle>
23
+ <circle cx="10.2" cy="23.5" r="3.7"></circle>
24
+ <circle cx="3.7" cy="33.2" r="3.7"></circle>
25
+ <circle cx="31.7" cy="30.6" r="3.7"></circle>
26
+ <circle cx="43.3" cy="17.6" r="3.7"></circ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7,3.8,5.4-.5,5.7-4.2,5.8-7.2-1.3-.2-3.7,1-5.7,3.8l-.7-8.5c2.2,2.3,4.2,2.7,6.4,2.8-.7-2.3-4.1-6.1-4.1-6.1h10.6,0Z"></path>
31
+ </g>
32
+ <circle class="govuk-logo-dot" cx="227" cy="36" r="7.3"></circle>
33
+ <path d="M93.94 41.25c.4 1.81 1.2 3.21 2.21 4.62 1 1.4 2.21 2.41 3.61 3.21s3.21 1.2 5.22 1.2 3.61-.4 4.82-1c1.4-.6 2.41-1.4 3.21-2.41.8-1 1.4-2.01 1.61-3.01s.4-2.01.4-3.01v.14h-10.86v-7.02h20.07v24.08h-8.03v-5.56c-.6.8-1.38 1.61-2.19 2.41-.8.8-1.81 1.2-2.81 1.81-1 .4-2.21.8-3.41 1.2s-2.41.4-3.81.4a18.56 18.56 0 0 1-14.65-6.63c-1.6-2.01-3.01-4.41-3.81-7.02s-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83a20.45 20.45 0 0 1 19.46-13.65c3.21 0 4.01.2 5.82.8 1.81.4 3.61 1.2 5.02 2.01 1.61.8 2.81 2.01 4.01 3.21s2.21 2.61 2.81 4.21l-7.63 4.41c-.4-1-1-1.81-1.61-2.61-.6-.8-1.4-1.4-2.21-2.01-.8-.6-1.81-1-2.81-1.4-1-.4-2.21-.4-3.61-.4-2.01 0-3.81.4-5.22 1.2-1.4.8-2.61 1.81-3.61 3.21s-1.61 2.81-2.21 4.62c-.4 1.81-.6 3.71-.6 5.42s.8 5.22.8 5.22Zm57.8-27.9c3.21 0 6.22.6 8.63 1.81 2.41 1.2 4.82 2.81 6.62 4.82S170.2 24.39 171 27s1.4 5.62 1.4 8.83-.4 6.02-1.4 8.83-2.41 5.02-4.01 7.02-4.01 3.61-6.62 4.82-5.42 1.81-8.63 1.81-6.22-.6-8.63-1.81-4.82-2.81-6.42-4.82-3.21-4.41-4.01-7.02-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83 2.41-5.02 4.01-7.02 4.01-3.61 6.42-4.82 5.42-1.81 8.63-1.81Zm0 36.73c1.81 0 3.61-.4 5.02-1s2.61-1.81 3.61-3.01 1.81-2.81 2.21-4.41c.4-1.81.8-3.61.8-5.62 0-2.21-.2-4.21-.8-6.02s-1.2-3.21-2.21-4.62c-1-1.2-2.21-2.21-3.61-3.01s-3.21-1-5.02-1-3.61.4-5.02 1c-1.4.8-2.61 1.81-3.61 3.01s-1.81 2.81-2.21 4.62c-.4 1.81-.8 3.61-.8 5.62 0 2.41.2 4.21.8 6.02.4 1.81 1.2 3.21 2.21 4.41s2.21 2.21 3.61 3.01c1.4.8 3.21 1 5.02 1Zm36.32 7.96-12.24-44.15h9.83l8.43 32.77h.4l8.23-32.77h9.83L200.3 58.04h-12.24Zm74.14-7.96c2.18 0 3.51-.6 3.51-.6 1.2-.6 2.01-1 2.81-1.81s1.4-1.81 1.81-2.81a13 13 0 0 0 .8-4.01V13.9h8.63v28.15c0 2.41-.4 4.62-1.4 6.62-.8 2.01-2.21 3.61-3.61 5.02s-3.41 2.41-5.62 3.21-4.62 1.2-7.02 1.2-5.02-.4-7.02-1.2c-2.21-.8-4.01-1.81-5.62-3.21s-2.81-3.01-3.61-5.02-1.4-4.21-1.4-6.62V13.9h8.63v26.95c0 1.61.2 3.01.8 4.01.4 1.2 1.2 2.21 2.01 2.81.8.8 1.81 1.4 2.81 1.81 0 0 1.34.6 3.51.6Zm34.22-36.18v18.92l15.65-18.92h10.82l-15.03 17.32 16.03 26.83h-10.21l-11.44-20.21-5.62 6.22v13.99h-8.83V13.9"></path>
34
+ </svg>
27
35
  </a>
28
36
  </div>
29
- <% if service.service_name.present? %>
30
- <div class="govuk-header__content">
31
- <%= link_to service.service_name, start_page_url, class: %w[govuk-header__link govuk-header__service-name] %>
32
- </div>
33
- <% end %>
34
37
  </div>
35
38
  </header>
39
+
40
+ <% if service.service_name.present? %>
41
+ <section aria-label="<%= t('presenter.header.service_information', default: 'Service information') %>" class="govuk-service-navigation" data-module="govuk-service-navigation">
42
+ <div class="govuk-width-container">
43
+ <div class="govuk-service-navigation__container">
44
+ <span class="govuk-service-navigation__service-name">
45
+ <%= link_to service.service_name, start_page_url, class: 'govuk-service-navigation__link' %>
46
+ </span>
47
+ </div>
48
+ </div>
49
+ </section>
50
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '3.4.21'.freeze
2
+ VERSION = '3.4.22'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata_presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.21
4
+ version: 3.4.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - MoJ Forms