From c64de53dacb5763ff529eadd82894f39b423ecb2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 4 Dec 2018 16:27:00 +0000 Subject: [PATCH] Bug 21943: Clean up holds template This patch makes a few markup corrections to the holds template in the staff client: Replace some YUI markup with Bootstrap; Replace invalid "alt" attributes with "title." To test, apply the patch and test the process of placing a hold, both single and multiple holds. At each step of the process the page should look correct and adjust well at various browser widths. Signed-off-by: Liz Rea --- .../prog/en/modules/reserve/request.tt | 39 +++++++++++++--------- 1 file changed, 24 insertions(+), 15 deletions(-) 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 36d6a30c7f..c33f33f9b0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -27,11 +27,15 @@ [% END %] -
+
+
+ [% IF ( multi_hold ) # No sidebar menu when placing multiple holds %] +
+ [% ELSE %] +
+ [% END %] +
-
-
-
[% IF ( noitems ) %]
[%IF (multi_hold) %] @@ -312,17 +316,17 @@ [% IF itemloo.force_hold_level == 'record' # Patron has placed a record level hold previously for this record %] - + Hold must be record level [% ELSIF ( itemloo.available ) %] [% ELSIF ( itemloo.override ) %] - + [% ELSE %] - + [% IF itemloo.not_holdable %] [% IF itemloo.not_holdable == 'damaged' %] Item damaged @@ -646,16 +650,21 @@ [% END %] [% END %] -
-
-
-[% UNLESS ( multi_hold ) %] - [% INCLUDE 'biblio-view-menu.inc' %] -[% END %] +
+ + [% IF ( multi_hold ) # No sidebar menu when placing multiple holds %] +
+ [% ELSE %] +
+
+ +
+ [% END %] +
-
-
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] -- 2.11.0