From 1d6e868d435ecb97d45ecca2dbb85ff5ca0a1b5c Mon Sep 17 00:00:00 2001 From: Martin Renvoize <martin.renvoize@ptfs-europe.com> Date: Thu, 13 Oct 2022 09:51:16 +0100 Subject: [PATCH] Bug 31758: OPTION 2 - Add page-section div around subsections An alternative that puts adds a new page-section div around each preference subsection rather than around the whole tab section. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt index b4e88f8eaf..693f50989f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt @@ -64,7 +64,8 @@ [% FOREACH LINE IN TAB.LINES %] [% IF ( LINE.is_group_title ) %] - [% UNLESS ( loop.first ) %]</tbody></table>[% END %] + [% UNLESS ( loop.first ) %]</tbody></table></div>[% END %] + <div class="page-section"> <div class="row"> <div class="col-sm-6"> <h3 id="[% LINE.title | $HtmlId %]"><i class="fa fa-caret-down"></i> [% LINE.title | html %]</h3> @@ -197,7 +198,7 @@ [% END %] </div></td> </tr> - [% IF ( loop.last ) %]</tbody></table>[% END %] + [% IF ( loop.last ) %]</tbody></table></div>[% END %] [% END %] [% END %] <fieldset class="action"><button class="save-all submit btn btn-primary" type="submit">Save all [% TAB.tab_title | html %] preferences</button> <a href="/cgi-bin/koha/admin/preferences.pl" class="force_reload cancel">Cancel</a></fieldset> -- 2.30.2