From 8d082d1452bf2c9040d2df3c2d9f435d55f291d6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 14 Nov 2022 17:20:50 +0000 Subject: [PATCH] Bug 32197: Add page-section to catalog's stock rotation page This page wraps the content of the stock rotation page in the catalog with a "page-section" div. Note: This patch includes indentation changes, so use diff accordingly. To test you must have the StockRotation system preference enabled. Apply the patch and locate a bibliographic record in the catalog. - Click the "Rota" link in the sidebar. - Confirm that the table of items on this page is surrounded by a container with a white-background. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../en/modules/catalogue/stockrotation.tt | 199 +++++++++--------- 1 file changed, 100 insertions(+), 99 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt index 0716462beb..c66e7dae30 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt @@ -44,119 +44,120 @@ [% IF no_op_set %]

Stock rotation details for [% INCLUDE 'biblio-title.inc' %]

[% IF rotas.count > 0 && items.size > 0 %] - - - - - - - - - - - - - - - [% FOREACH item IN items %] +
+
+ - - - - + + + + + + + + + + [% FOREACH item IN items %] + + + + + + + - - + - - - [% END %] - - + + + [% END %] + + + [% END %] [% IF !items || items.size == 0 %]

No physical items for this record

-- 2.39.5