From e7f5d57feb1e42a7a00effeba215af82dd299990 Mon Sep 17 00:00:00 2001 From: Mark Conroy Date: Mon, 15 Sep 2025 10:43:21 +0100 Subject: [PATCH] Adds title to prev/next for step-by-step --- ...ist--localgov-step-by-step-navigation--prev-next.html.twig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/views/views-view-list--localgov-step-by-step-navigation--prev-next.html.twig b/templates/views/views-view-list--localgov-step-by-step-navigation--prev-next.html.twig index 0e8fe98..e575870 100644 --- a/templates/views/views-view-list--localgov-step-by-step-navigation--prev-next.html.twig +++ b/templates/views/views-view-list--localgov-step-by-step-navigation--prev-next.html.twig @@ -42,6 +42,10 @@ {% set prev_url = has_prev_step ? path('entity.node.canonical', {'node': prev_step_nid }) : '' %} {% set next_url = has_next_step ? path('entity.node.canonical', {'node': next_step_nid }) : '' %} +{% set show_title = TRUE %} +{% set prev_title = has_prev_step ? prev_step_title %} +{% set next_title = has_next_step ? next_step_title %} + {% embed 'localgov_base:prev-next' %} {% block prev_next_pre_content %}

{{ 'Step by step navigation'|t }}