From b8a55ab45c96cb7e7554351b71c8d4c9954c784a 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. --- .../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.20.1