From eb0fb2e5aeb6da304ff300692c195613a86f3a83 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 3 Sep 2024 11:26:38 +0000 Subject: [PATCH] Bug 37732: (follow-up) Fix some missed instances This patch fixes a few templates which I had missed, including some which simply had the wrong classes (instead of getting the wrong class from the perl script). Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index cf7259975c..ae6da07854 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -81,7 +81,7 @@ [% IF ( barcode_not_unique ) %]
Error saving item: Barcode must be unique.
[% END %] [% IF ( no_next_barcode ) %]
Error saving items: Unable to automatically determine values for barcodes. No item has been inserted.
[% END %] [% IF ( book_on_loan ) %]
Cannot delete: item is checked out.
[% END %] -[% IF ( book_reserved ) %]
Cannot delete: item has a waiting hold.
[% END %] +[% IF ( book_reserved ) %]
Cannot delete: item has a waiting hold.
[% END %] [% IF ( not_same_branch ) %]
Cannot delete: The items do not belong to your library.
[% END %] [% IF ( linked_analytics ) %]
Cannot delete: item has linked analytics..
[% END %] [% IF last_item_for_hold %]
Cannot delete: Last item for bibliographic record with biblio-level hold on it.
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt index 38a9edf174..f8e5a90f1c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -54,7 +54,7 @@ [% END %] [% IF receipt_sent == '-1' %] -
+
Receipt not sent, failed to find template.
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt index 70300e88fe..94a82d52ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt @@ -44,7 +44,7 @@

Discharge

[% FOR message IN messages %] -
+
[% IF message.code == "unable_to_generate_pdf" %] An error occurs when generating the PDF file. Please contact the administrator to resolve this problem. diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt index 96f019d796..0a252c09d1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt @@ -29,7 +29,7 @@

Discharge

[% FOR message IN messages %] -
+
[% IF message.code == "unable_to_generate_pdf" %] An error occurs when generating the pdf file. Please contact the staff to resolve this problem. diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt index 171fcdc039..5fb70997ce 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt @@ -14,7 +14,7 @@ [% IF ( SENT ) %]

Message sent

-
+

The cart was sent to: [% email_add | html %]

Close window

-- 2.39.5