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 <lucas@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 72dcf17ea0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2022-05-17 11:19:19 +00:00 committed by Lucas Gass
parent 8ba6fdf401
commit 0a54a7221b

View file

@ -31,7 +31,7 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h1>
i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END %]<em>[% biblio.title | html %]</em> for <em>[% course.course_name | html %]</em>
[% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END %]<em>[% biblio.title | html %]</em> for <em>[% course.course_name | html %]</em>
</h1>
[% IF course_reserve && !is_edit%]<div class="dialog message" id="already_on_reserve_this">This course already has this item on reserve.</div>[% END %]
@ -252,7 +252,6 @@ i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END
[% MACRO jsinclude BLOCK %]
<script>
//<![CDATA[
$(document).ready(function(){
$('.field-toggle').change(function() {
if( this.checked ) {
@ -263,7 +262,6 @@ i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END
}
});
});
//]]>
</script>
[% END %]