From e094ba2ffdb8e0ebde6458849d0d22e09df4649c Mon Sep 17 00:00:00 2001 From: Dana Cotoran Date: Fri, 7 Jan 2022 16:12:43 +0000 Subject: [PATCH] Add temporary container to published_dates This is to prevent the change in this PR being a breaking one: https://github.com/alphagov/govuk_publishing_components/pull/2558 Once the change above has been rolled out to government-frontend, the additional container can be removed, and the id of the container updated from "history" to "full-publication-update-history" --- app/views/components/_published-dates.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/components/_published-dates.html.erb b/app/views/components/_published-dates.html.erb index 98caa7b43..a38f3f400 100644 --- a/app/views/components/_published-dates.html.erb +++ b/app/views/components/_published-dates.html.erb @@ -10,7 +10,7 @@ classes << shared_helper.get_margin_bottom if local_assigns[:margin_bottom] %> <% if published || last_updated %> -
id="history" data-module="gem-toggle"<% end %> lang="en"> +
id="history" data-module="gem-toggle"<% end %> lang="en"> <% if published %> <%= t('components.published_dates.published', date: published) %> <% end %> @@ -36,5 +36,5 @@
<% end %> <% end %> -
+
<% end %>