govuk_publishing_components 23.7.4 → 23.7.5
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: 59c2da5bb82e22d5f69cd19ec1815c5730386dc14fea2ba845e5db185b7d6e58
|
4
|
+
data.tar.gz: a501b486477fc328dc912105f0c97f56a6701bb0af5ae40920dbd803f5b989d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f11647e0aab3acc33a200d52198462955ba7fdbd8a2770ef43456175b8bb442ce30f065710b501a4e437c761a2492b67e98ee18cf2fff5bd6f41446a2abb6670
|
7
|
+
data.tar.gz: 52f80f2f5c35ef50852d3a36dd77409fe15982f7a9ddadf6e93eeabcff4618353765b11145d2416758ebd27b76fe330db84263aa97a0106679af48d99ea02c51
|
@@ -1,5 +1,5 @@
|
|
1
1
|
name: Subscription links
|
2
|
-
description: Links to ‘Get
|
2
|
+
description: Links to ‘Get emails’ and ‘Subscribe to feed’
|
3
3
|
body: |
|
4
4
|
<strong>NOTE: This component includes a h2 heading by default but can be suppressed by using `hide_heading` option (see below)<strong>
|
5
5
|
accessibility_criteria: |
|
data/config/locales/en.yml
CHANGED
@@ -14,13 +14,13 @@ module GovukPublishingComponents
|
|
14
14
|
def email_signup_link_text
|
15
15
|
return @local_assigns[:email_signup_link_text] if @local_assigns[:email_signup_link_text]
|
16
16
|
|
17
|
-
I18n.t("
|
17
|
+
I18n.t("components.subscription_links.email_signup_link_text")
|
18
18
|
end
|
19
19
|
|
20
20
|
def feed_link_text
|
21
21
|
return @local_assigns[:feed_link_text] if @local_assigns[:feed_link_text]
|
22
22
|
|
23
|
-
I18n.t("
|
23
|
+
I18n.t("components.subscription_links.feed_link_text")
|
24
24
|
end
|
25
25
|
|
26
26
|
def component_data_is_valid?
|