From 440d7abaaf594fcc32676fb7a9d2ccf3d575f9ba Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 13 Jan 2025 10:56:51 +0100 Subject: [PATCH] Bug 38714: holds-table.inc [opac] Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../bootstrap/en/includes/holds-table.inc | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc index a92c77b540..f3fe544910 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -40,13 +40,13 @@ [% UNLESS ( HOLD.is_waiting || HOLD.is_in_transit || HOLD.is_in_processing) %] [% SET all_holds_waiting = 0 %] [% END %] + [% SET tr_class = '' %] [% IF ( HOLD.is_at_destination ) %] - + [% tr_class = 'reserved' %] [% ELSIF HOLD.is_in_transit %] - - [% ELSE %] - + [% tr_class = 'transfered' %] [% END %] + [% IF ! onlyinfo %] [% INCLUDE 'biblio-title.inc' biblio=HOLD.biblio link=> 1 %] @@ -68,17 +68,16 @@ [% HOLD.reservedate | $KohaDates %] - [% IF ! HOLD.found %] - + + [% IF ! HOLD.found %] [% IF ( HOLD.expirationdate ) %] [% HOLD.expirationdate | $KohaDates %] [% ELSE %] Never expires [% END %] - [% ELSE %] - + [% ELSE %] - - [% END %] + [% END %] [% UNLESS( singleBranchMode) %] @@ -173,7 +172,8 @@ [% ELSE %] [% IF AutoResumeSuspendedHolds %] - Suspend + [%- SET subtitles = HOLD.biblio.subtitle.split(' \| ') -%] + Suspend [% ELSE %]
[% INCLUDE 'csrf-token.inc' %]