From 72dcf17ea0f23b0e23272231d39632bc5b57db73 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 17 May 2022 11:19:19 +0000 Subject: [PATCH] Bug 30774: Typo: i %sEdit %sReserve %s This patch removes an out of place "i" and replaces it with a space. The patch also removes obsolete CDATA markers in the page's JavaScript. To test, apply the patch and go to Course reserves. - Create a course if necessary, then view the details of your course. - Click the "Add reserves" button. - Enter a barcode or biblionumber. - On the next page, the heading "Reserve [title] for [course]" should look correct, with no extra "i" at the beginning of the line. Signed-off-by: Lucas Gass Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/course_reserves/add_items-step2.tt | 4 +--- 1 file changed, 1 insertion(+), 3 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 51aea6fa23..d9fb79eb53 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 @@ -31,7 +31,7 @@

-i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END %][% biblio.title | html %] for [% course.course_name | html %] + [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END %][% biblio.title | html %] for [% course.course_name | html %]

[% IF course_reserve && !is_edit%]
This course already has this item on reserve.
[% END %] @@ -252,7 +252,6 @@ i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END [% MACRO jsinclude BLOCK %] [% END %] -- 2.39.5