From a09f2d94457d7c537b985a78aa3b4d2a6146f5a8 Mon Sep 17 00:00:00 2001
From: Pedro Amorim <pedro.amorim@openfifth.co.uk>
Date: Wed, 2 Apr 2025 14:09:19 +0000
Subject: [PATCH] Bug 38819: Auto switch: Breadcrumbs+header titles

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
---
 .../prog/en/modules/ill/ill-requests.tt              | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
index 51de4c3cd76..9a850ea9a44 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
@@ -51,7 +51,11 @@
                 <a href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a>
             [% END %]
             [% WRAPPER breadcrumb_item bc_active= 1 %]
-                <span>Confirm request</span>
+                [% IF(auto_migrate) %]
+                    <span>Confirm switch provider</span>
+                [% ELSE %]
+                    <span>Confirm request</span>
+                [% END %]
             [% END %]
         [% ELSE %]
             [% WRAPPER breadcrumb_item bc_active= 1 %]
@@ -865,7 +869,11 @@
                 </div>
             [% ELSIF op == 'confirmautoill' %]
                 <!-- confirmautoill -->
-                <h1>Confirm request</h1>
+                [% IF(auto_migrate) %]
+                    <h1>Confirm switch provider</h1>
+                [% ELSE %]
+                    <h1>Confirm request</h1>
+                [% END %]
                 <div id="results" class="page-section">
                     <form method="post" id="confirmautoill-goback-form">
                         [% INCLUDE 'csrf-token.inc' %]
-- 
2.49.0