govuk-components 2.0.0b2 → 2.0.0b3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d78b72089a8fad902b686ad63ecb7b101a7353a5e59bbd70369d929eb3f9b8ab
4
- data.tar.gz: f72eff8f23f2a8a808f21ea5cb14be0574a61ba6688e8e137fec6387ea6f44d7
3
+ metadata.gz: 6865ba0192a8b3b74dbf3606bdb5c223f6e8ccd200257779d4e55516e07765a5
4
+ data.tar.gz: a97b96623bc61a2ed3a1d1cd18b65c7e5a77ac0070fd65d22bd2d35f5763f68b
5
5
  SHA512:
6
- metadata.gz: bb0b5e3653d68b5e53a8931204ce9a973d6cc8f5e778ea3d8950cd8c9499eafe6c2080b7a973ca53284d9e7de9dc0fa31bda6df3c1aa908d2477b06d4f964f7c
7
- data.tar.gz: b7d8992142ec9627c957f63082b66dbacbee454e2a837209f3dd86d4fe018c929c2f113942a11d368afeb3569f210fc7ce1ed3e5c22bb211141c9ef915588912
6
+ metadata.gz: 7382fc831161df5683e09d30f7f8e296f6019fd6137e476556e9f0056a45c644cade8f66db02ef05c57984a977a3bd82d53781259612cb4513b1a30290e495e3
7
+ data.tar.gz: 7961d834d1c290a9bd3ac4b79b145013b943eb4ada59f983ebb20461e692aedfd1944130f194ca4a65f041aeb938dcd629e751f42573e84d7a6980be521153e5
@@ -1,7 +1,7 @@
1
1
  <%= tag.header(class: classes, role: 'banner', data: { module: 'govuk-header' }, **html_attributes) do %>
2
2
  <%= tag.div(class: container_classes) do %>
3
3
  <div class="govuk-header__logo">
4
- <%= link_to(@homepage_url, class: %w(govuk-header__link govuk-header__link--homepage)) do %>
4
+ <%= link_to(homepage_url, class: %w(govuk-header__link govuk-header__link--homepage)) do %>
5
5
  <span class="govuk-header__logotype">
6
6
  <% if custom_logo.present? %>
7
7
  <%= custom_logo %>
@@ -21,10 +21,10 @@
21
21
  <% end %>
22
22
  </div>
23
23
 
24
- <% if @service_name.present? || @items.present? %>
24
+ <% if service_name.present? || items.present? %>
25
25
  <div class="govuk-header__content">
26
- <% if @service_name.present? %>
27
- <%= link_to(@service_name, @service_url, class: %w(govuk-header__link govuk-header__link--service-name)) %>
26
+ <% if service_name.present? %>
27
+ <%= link_to(service_name, service_url, class: %w(govuk-header__link govuk-header__link--service-name)) %>
28
28
  <% end %>
29
29
 
30
30
  <% if items.any? %>
@@ -1,5 +1,5 @@
1
1
  module Govuk
2
2
  module Components
3
- VERSION = '2.0.0b2'.freeze
3
+ VERSION = '2.0.0b3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk-components
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0b2
4
+ version: 2.0.0b3
5
5
  platform: ruby
6
6
  authors:
7
7
  - DfE developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-06 00:00:00.000000000 Z
11
+ date: 2021-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel