govuk_publishing_components 9.9.0 → 9.9.1

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: 960ab5d3187352fb644a25d13ceb60199a064d4c34855ef09b5b076d040a848b
4
- data.tar.gz: 0e2eb87f4c638266e06b83cd870db71d5b19ad3cf1feb4ee0716013dbb76028e
3
+ metadata.gz: 925b6c1580fe9b960e90984e5e4a50995fe322cd323506a7f2fd8becdb60e23b
4
+ data.tar.gz: 43cd17771a0adb23d4e4726f14afb90a24ad753b28a342cb7c3aad1725d9aef7
5
5
  SHA512:
6
- metadata.gz: cc87b549d4daf795a20093462c3133915a5fa119ed50c599ee0ef4bb379a8c5a8716cf2cfa2eda55df0a0083f5fc8067132d56b77c62d892af7441f4c8243f1e
7
- data.tar.gz: 9ad12968cacfe966653c7ef523462b40a9891066b0e97b0db927919e2d6e210882386b24bb4a789c54b8c52bd86a6af1c77f52b8317ed72d7e06a6c1989134a0
6
+ metadata.gz: 430cbf6a5cd566061cbfddc769d1e09551f9c7b94690a6447768ed949ee77501184efaf538098e310e17950fe8cb7022d8ae76e5e1ba491a36ac086721692c99
7
+ data.tar.gz: 5e5ada0b54ea7cbee6cffce21a560a5fccacdd223332c6f2ad28ac567b8ccfccd5d3616cb3ce0c34dc733a31f1c90c65ac37d8432284662e2674ccae2473e838
@@ -11,9 +11,6 @@
11
11
  <ol class="gem-c-document-list<%= margin_bottom_class %><%= margin_top_class %> <%= brand_helper.brand_class %>">
12
12
  <% items.each do |item| %>
13
13
  <li class="gem-c-document-list__item">
14
- <% if item[:link][:description] || item[:metadata] %>
15
- <h3 class="gem-c-document-list__item-title">
16
- <% end %>
17
14
  <%=
18
15
  link_to(
19
16
  item[:link][:text],
@@ -22,9 +19,6 @@
22
19
  class: "gem-c-document-list__item-title #{brand_helper.color_class} #{title_with_context_class if item[:link][:context]}"
23
20
  )
24
21
  %>
25
- <% if item[:link][:description] || item[:metadata] %>
26
- </h3>
27
- <% end %>
28
22
 
29
23
  <% if item[:link][:context] %>
30
24
  <span class="gem-c-document-list__item-context"><%= item[:link][:context] %></span>
@@ -94,7 +94,6 @@ examples:
94
94
  public_updated_at: 2017-07-19 15:01:48
95
95
  document_type: 'Statutory guidance'
96
96
  with_only_link:
97
- description: When only link text and path is provided to the component (no description or metadata), this will render the link without wrapping it in a heading element.
98
97
  data:
99
98
  items:
100
99
  - link:
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '9.9.0'.freeze
2
+ VERSION = '9.9.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.9.0
4
+ version: 9.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-03 00:00:00.000000000 Z
11
+ date: 2018-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config