From 4250579e3f6a7c7e941376b31d48a854f0ad7c43 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 (cherry picked from commit 41e0ff7cd6240c2c9ba2d1bec816b191ef091eb1) Signed-off-by: Martin Renvoize (cherry picked from commit df88d3c87a11feb17b7949d2a3567220a07bc196) Signed-off-by: Lucas Gass --- .../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 522f4aa5f1..13b276112d 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.39.5