govuk_publishing_components 21.30.0 → 21.31.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37a2fbff2e842370df622de39881e50806af9a8c6e00ed4f4b4d867759c4a601
|
4
|
+
data.tar.gz: f01dd64ef6ab17e0dd623c8ecd3cc2dda2ad48afcfacea381896704fd22fc9dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61d6a04b5acbfdc25ba6c2c586c8ec0025debcd8638a7beaee596dd3af3ced4f8ef005e1cf90dabd3f18ee21a8c99fc2a99bd25ab6ed69e3f18a4e8fc0f977e6
|
7
|
+
data.tar.gz: ca465df1771af9b6b8dfd7005c467814ee88260b73994bf3fe44790f9013ab9a375f98f2919eb115a7766d9b43a58e8f2becb6cc47245ed240ac8fd377bd4a80
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<%
|
2
2
|
full_width ||= false
|
3
3
|
product_name ||= "Publishing"
|
4
|
+
public_environment = environment.eql?("public")
|
4
5
|
navigation_items ||= []
|
5
6
|
if full_width
|
6
7
|
width_class = "govuk-header__container--full-width"
|
@@ -24,13 +25,15 @@
|
|
24
25
|
</span>
|
25
26
|
</span>
|
26
27
|
|
27
|
-
|
28
|
-
|
29
|
-
|
28
|
+
<% unless public_environment %>
|
29
|
+
<span class="govuk-header__product-name gem-c-header__product-name">
|
30
|
+
<%= product_name %>
|
31
|
+
</span>
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
-
|
33
|
+
<span class="gem-c-environment-tag govuk-tag gem-c-environment-tag--<%= environment %>">
|
34
|
+
<%= environment %>
|
35
|
+
</span>
|
36
|
+
<% end %>
|
34
37
|
</a>
|
35
38
|
|
36
39
|
</div><div class="govuk-header__content gem-c-header__content">
|
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: 21.
|
4
|
+
version: 21.31.0
|
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: 2020-03-
|
11
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gds-api-adapters
|