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:
parent
eea4595f3e
commit
eb0fb2e5ae
5 changed files with 5 additions and 5 deletions
|
@ -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 %]&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 %]
|
||||
|
|
|
@ -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 %]
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue