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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2024-09-03 11:26:38 +00:00 committed by Katrin Fischer
parent eea4595f3e
commit eb0fb2e5ae
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
5 changed files with 5 additions and 5 deletions

View file

@ -81,7 +81,7 @@
[% IF ( barcode_not_unique ) %]<div class="alert alert-warning"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %]
[% IF ( no_next_barcode ) %]<div class="alert alert-warning"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %]
[% IF ( book_on_loan ) %]<div class="alert alert-warning"><strong>Cannot delete</strong>: item is checked out.</div>[% END %]
[% IF ( book_reserved ) %]<div class="dialogalert"><strong>Cannot delete</strong>: item has a waiting hold.</div>[% END %]
[% IF ( book_reserved ) %]<div class="alert alert-warning"><strong>Cannot delete</strong>: item has a waiting hold.</div>[% END %]
[% IF ( not_same_branch ) %]<div class="alert alert-warning"><strong>Cannot delete</strong>: The items do not belong to your library.</div>[% END %]
[% IF ( linked_analytics ) %]<div class="alert alert-warning"><strong>Cannot delete</strong>: item has linked <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]&amp;analyze=1">analytics.</a>.</div>[% END %]
[% IF last_item_for_hold %]<div class="alert alert-warning"><strong>Cannot delete</strong>: Last item for bibliographic record with biblio-level hold on it.</div>[% END %]

View file

@ -54,7 +54,7 @@
</div>
[% END %]
[% IF receipt_sent == '-1' %]
<div id="receipt_sent_dialog" class="dialog warning">
<div id="receipt_sent_dialog" class="alert alert-warning">
Receipt not sent, failed to find template.
</div>
[% END %]

View file

@ -44,7 +44,7 @@
<h1>Discharge</h1>
[% FOR message IN messages %]
<div class="dialog [% message.type | html %]">
<div class="alert alert-[% message.type | html %]">
[% IF message.code == "unable_to_generate_pdf" %]
An error occurs when generating the PDF file.
Please contact the administrator to resolve this problem.

View file

@ -29,7 +29,7 @@
<div id="discharge" class="maincontent">
<h1>Discharge</h1>
[% FOR message IN messages %]
<div class="dialog [% message.type | html %]">
<div class="alert alert-[% message.type | html %]">
[% IF message.code == "unable_to_generate_pdf" %]
An error occurs when generating the pdf file.
Please contact the staff to resolve this problem.

View file

@ -14,7 +14,7 @@
[% IF ( SENT ) %]
<h1>Message sent</h1>
<div class="dialog dialog-success">
<div class="alert alert-info">
<p>The cart was sent to: [% email_add | html %]</p>
</div>
<p><a class="focus close" href="#">Close window</a></p>