From 5d85c270eb1ef20115ffe6dd48831999524cecea Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 18 May 2023 11:21:38 +0000 Subject: [PATCH] Bug 33716: (follow-up) Add cancel links and update breadcrumbs For both staff interface and OPAC: * Update breadcrumbs to have a new entry for the page * Rename button From Next to submit * Add a cancel link to back out Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/ill/ill-requests.tt | 10 +++++++++- .../bootstrap/en/modules/opac-illrequests.tt | 14 +++++++++----- 2 files changed, 18 insertions(+), 6 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 4fcc2084dc..5be5bd7ec9 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 @@ -37,6 +37,13 @@ [% WRAPPER breadcrumb_item bc_active= 1 %] Manage request [% request.id_prefix _ request.illrequest_id | html %] [% END %] + [% ELSIF query_type == 'typedisclaimer' %] + [% WRAPPER breadcrumb_item %] + ILL requests + [% END %] + [% WRAPPER breadcrumb_item bc_active= 1 %] + Request type disclaimer + [% END %] [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] ILL requests @@ -846,7 +853,8 @@ - + + Cancel diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt index 5e9cd95349..b49a94c4cd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -33,7 +33,7 @@ [% END %] [% IF method != 'list' %] - [% IF method == 'create' %] @@ -44,6 +44,10 @@ + [% ELSIF method == 'typedisclaimer' %] + [% END %] [% ELSE %]