From 887399c2cdae66b7e8baeccf958759ad453e81cc Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Thu, 14 Jan 2021 16:34:19 +0000 Subject: [PATCH 1/2] Use correct component references - these two components have been renamed to match conventions, so updating their references here as well --- app/views/content_items/travel_advice.html.erb | 2 +- app/views/shared/_translations.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index ba80f0ea3..e4d0f0204 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -48,7 +48,7 @@ <%= render "govuk_publishing_components/components/contents_list", contents: @content_item.part_link_elements, underline_links: true %> - <%= render 'govuk_publishing_components/components/subscription-links', email_signup_link: @content_item.email_signup_link, feed_link: @content_item.feed_link %> + <%= render 'govuk_publishing_components/components/subscription_links', email_signup_link: @content_item.email_signup_link, feed_link: @content_item.feed_link %> diff --git a/app/views/shared/_translations.html.erb b/app/views/shared/_translations.html.erb index c658f0d6c..da4a86f49 100644 --- a/app/views/shared/_translations.html.erb +++ b/app/views/shared/_translations.html.erb @@ -1,6 +1,6 @@ <% if @content_item.available_translations.length > 1 %>
- <%= render 'govuk_publishing_components/components/translation-nav', + <%= render 'govuk_publishing_components/components/translation_nav', translations: @content_item.available_translations %>
<% end %> From 66051eb03ddae8a0064082b81a6e714bb2821ac3 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Thu, 14 Jan 2021 16:34:50 +0000 Subject: [PATCH 2/2] Add missing print stylesheet --- app/assets/stylesheets/print.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss index 0c7721361..807ec1eed 100644 --- a/app/assets/stylesheets/print.scss +++ b/app/assets/stylesheets/print.scss @@ -8,6 +8,7 @@ @import 'govuk_publishing_components/components/print/govspeak-html-publication'; @import 'govuk_publishing_components/components/print/metadata'; @import 'govuk_publishing_components/components/print/share-links'; +@import 'govuk_publishing_components/components/print/skip-link'; @import 'govuk_publishing_components/components/print/step-by-step-nav'; @import 'govuk_publishing_components/components/print/step-by-step-nav-header'; @import 'govuk_publishing_components/components/print/subscription-links';