diff --git a/app/views/content_items/detailed_guide.html.erb b/app/views/content_items/detailed_guide.html.erb index 10093c02c..27bc6f231 100644 --- a/app/views/content_items/detailed_guide.html.erb +++ b/app/views/content_items/detailed_guide.html.erb @@ -92,9 +92,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 2, section: 'Content', }, diff --git a/app/views/content_items/guide.html+print.erb b/app/views/content_items/guide.html+print.erb index 1092ac399..1101d4856 100644 --- a/app/views/content_items/guide.html+print.erb +++ b/app/views/content_items/guide.html+print.erb @@ -29,9 +29,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 2, section: 'Content', }, @@ -62,9 +60,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 2, - }, + index_link: 2, index_total: 2, section: 'Footer', }, diff --git a/app/views/content_items/html_publication.html.erb b/app/views/content_items/html_publication.html.erb index a93cdbd8c..0020b544e 100644 --- a/app/views/content_items/html_publication.html.erb +++ b/app/views/content_items/html_publication.html.erb @@ -70,9 +70,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 1, section: 'Content', }, diff --git a/app/views/content_items/manuals/_manual_layout.html.erb b/app/views/content_items/manuals/_manual_layout.html.erb index 6d8330de5..c945bcc3e 100644 --- a/app/views/content_items/manuals/_manual_layout.html.erb +++ b/app/views/content_items/manuals/_manual_layout.html.erb @@ -23,13 +23,11 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 1, section: 'Footer', }, }, - } %> + } %> <% end %> \ No newline at end of file diff --git a/app/views/content_items/manuals/_manual_section_layout.html.erb b/app/views/content_items/manuals/_manual_section_layout.html.erb index dbbf3cd75..fb6bacc03 100644 --- a/app/views/content_items/manuals/_manual_section_layout.html.erb +++ b/app/views/content_items/manuals/_manual_section_layout.html.erb @@ -40,9 +40,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 1, section: 'Footer', }, diff --git a/app/views/content_items/manuals/_updates.html.erb b/app/views/content_items/manuals/_updates.html.erb index f2d2fa22f..b2ef3667a 100644 --- a/app/views/content_items/manuals/_updates.html.erb +++ b/app/views/content_items/manuals/_updates.html.erb @@ -65,9 +65,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 1, section: 'Footer', }, diff --git a/app/views/content_items/travel_advice.html+print.erb b/app/views/content_items/travel_advice.html+print.erb index e41a1182a..010433d61 100644 --- a/app/views/content_items/travel_advice.html+print.erb +++ b/app/views/content_items/travel_advice.html+print.erb @@ -28,9 +28,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 2, section: 'Content', }, @@ -62,9 +60,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 2, - }, + index_link: 2, index_total: 2, section: 'Footer', }, diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index 1897de70e..7e741f105 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -19,18 +19,18 @@ <%= render "govuk_publishing_components/components/govspeak", { } do %> <% @content_item.alert_status.each do |text| %> - <%= render "govuk_publishing_components/components/warning_text", - text: text - %> + <%= render "govuk_publishing_components/components/warning_text", + text: text + %> <% end %> <% end %>