From e7fd498b3a4973543f2ff17822d957152871123c Mon Sep 17 00:00:00 2001 From: Hayley Mapley Date: Thu, 7 Mar 2019 20:28:48 +0000 Subject: [PATCH] Bug 21003: Made Edit keywords more consistent in add_items-step2.tt When adding a course reserve with a barcode that already exists, the title, breadcrumbs, and legend of the form all specify that the user is editing, and not adding, the book. Test plan: Same as comment 1 Signed-off-by: Devinim Signed-off-by: Bin Wen Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens https://bugs.koha-community.org/show_bug.cgi?id=22632 --- .../intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt index 4646c85..6c1c5f8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt @@ -1,6 +1,6 @@ [% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Course reserves ›[% IF is_edit %] Edit item[% ELSE %]Add items[% END %] +Koha › Course reserves ›[% IF is_edit || course_reserve %] Edit item[% ELSE %] Add items[% END %] [% INCLUDE 'doc-head-close.inc' %] @@ -9,7 +9,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
-- 2.7.4