From 83c7d4ac95fd0ff5eea7be507f893fc80c52c9da Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 20 Aug 2025 16:34:14 +0000 Subject: [PATCH] Bug 40654: Adjust display to show current priority --- .../prog/en/includes/holds_table.inc | 78 ++++++++++--------- .../prog/en/modules/reserve/request.tt | 8 ++ 2 files changed, 50 insertions(+), 36 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc index 70ff63bf366..7546ab5cec6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -45,48 +45,54 @@ [%- this_priority = loop.count() - found_holds -%] [%- END -%] [% SET tr_class = hold.suspend ? 'suspend' : '' %] - + - - - - - [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] - [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] - + + + [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] + [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] + + - [% ELSE %] - - + [% ELSE %] + + + + [% END %] + [% ELSE %] + [% END %] - [% ELSE %] - - [% hold.priority | html %] - [% END %] +
+ + [% hold.priority | html %] +
+ [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] [%- UNLESS hold.found -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index e50c188a02a..2b532fba385 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -105,6 +105,14 @@ :disabled { opacity: 0.5; } + .current_priority { + width: 50px; + text-align: left; + margin-top: 5px; + } + .rank-request { + width: 50px; + } [% END %] -- 2.39.5