From 113cf908fa8509f6781399eb2e89af9c04447178 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Dec 2024 13:48:33 +0100 Subject: [PATCH] Bug 38714: circ/circulation.tt Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../prog/en/modules/circ/circulation.tt | 45 +++++++++++-------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index a67677b4eb..678b72b244 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -745,11 +745,11 @@ [% INCLUDE 'csrf-token.inc' %] + [% IF ( issue ) %] -
- [% ELSE %] -
+ [% SET fieldset_class='lastchecked' %] [% END %] +
[% IF Koha.Preference('DisplayClearScreenButton') == 'issueslip' %] x @@ -896,36 +896,43 @@ [% END #/IF !noissues %] + [% SET div_class = '' %] [% IF ( noissues ) %] [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] -
- [% ELSE %] -
+ [% div_class = 'col-sm-6' %] [% END %] [% ELSE %] -
+ [% div_class = 'col-sm-6' %] [% END %] +
+ [% SET div_id = '' %] + [% div_class = '' %] [% IF ( noissues ) %] [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] -
+ [% div_class = 'circmessage attention' %] + [% div_id = 'circmessages' %] [% ELSE %]

Checking out to [% INCLUDE 'patron-title.inc' %]

-
+ [% div_class = 'circmessage warning' %] + [% div_id = 'circmessages' %] [% END %] -

- Cannot check out! - [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] - Only on-site checkouts are allowed - [% END %] -

[% ELSE %] -
+ [% div_class = 'circmessage attention' %] + [% div_id = 'circmessages' %] [% END %] - [% INCLUDE 'patron_messages.inc' %] - -
+
+ [% IF noissues %] +

+ Cannot check out! + [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] + Only on-site checkouts are allowed + [% END %] +

+ [% END %] + [% INCLUDE 'patron_messages.inc' %] +