From cb5fd3dee8b99e846f82a7d0ad22f99d16b6af64 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 18 Oct 2022 22:11:30 +0000 Subject: [PATCH] Bug 31770: Add page-section class to rotating collections page To test: 1. Apply patch 2. Go to the rotating collections page. Tools / Rotating collections 3. Add some new collections 4. Note that the page looks good with the new page section div. Note: I made some indentation changes and fixed a small typo where the 'dropdown-toggle' class was not being properly applied. --- .../rotatingCollections.tt | 64 ++++++++++--------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt index b3a664ced3..58d806318a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt @@ -40,37 +40,39 @@

Rotating collections

[% IF ( collectionsLoop ) %] - - - - - - - - - - - [% FOREACH collectionsLoo IN collectionsLoop %] - - - - - - - [% END %] - -
TitleDescriptionCurrent library 
[% collectionsLoo.colTitle | html %][% collectionsLoo.colDesc | html %][% Branches.GetName( collectionsLoo.colBranchcode ) | html %] - -
+
+ + + + + + + + + + + [% FOREACH collectionsLoo IN collectionsLoop %] + + + + + + + [% END %] + +
TitleDescriptionCurrent library 
[% collectionsLoo.colTitle | html %][% collectionsLoo.colDesc | html %][% Branches.GetName( collectionsLoo.colBranchcode ) | html %] + +
+
[% ELSE %]
There are no collections currently defined.
[% END %] -- 2.30.2