From 66db484c2b72e62a8db985f7d679a966a860f9bd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Dec 2024 14:07:46 +0100 Subject: [PATCH] Bug 38714: circ/on-site_checkouts.tt Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../prog/en/modules/circ/on-site_checkouts.tt | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt index 85299759c9..34fe18ef77 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt @@ -38,10 +38,11 @@
[% IF Koha.Preference('CircSidebar') %] -
+ [% SET div_class='col-md-10 order-md-2 order-sm-1' %] [% ELSE %] -
+ [% SET div_class='col-md-10 offset-md-1 col-lg-8 offset-lg-2' %] [% END %] +
[% INCLUDE 'messages.inc' %]

Pending on-site checkouts

@@ -57,9 +58,13 @@ [% FOREACH item IN pending_onsite_checkouts %] - [% IF item.is_overdue %][% END %] - [% item.date_due | $KohaDates as_due_date => 1 %] - [% IF item.is_overdue %][% END %] + [% IF item.is_overdue %] + + [% item.date_due | $KohaDates as_due_date => 1 %] + + [% ELSE %] + [% item.date_due | $KohaDates as_due_date => 1 %] + [% END %] [% item.firstname | html %] [% item.surname | html %] @@ -82,15 +87,15 @@

No pending on-site checkout.

[% END %] +
[% IF Koha.Preference('CircSidebar') %] -
-
[% END %] +