From d1d5b51cee91f94dd39ff9edb5686cf9427c6292 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 24 Oct 2022 12:19:07 +0100 Subject: [PATCH] Bug 31939: Add page-section to branches template This patch adds the page-section class to the appropriate blocks in the Libraries administration area. Test plan 1) Confirm that Administration > Libraries correctly displays the table inside a page-section card 2) Confirm that Administration > Libraries > 'A library' correctly displays a card for the main information at the top and a separate card for OPAC Information if added. 3) Confirm that the 'Add' and 'Edit' library forms still look good. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index f4d9735f18..e2737f1ac8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -329,6 +329,7 @@ Libraries › Administration › Koha [% IF op == 'list' %]

Libraries

[% IF libraries_count > 0 %] +
@@ -344,6 +345,7 @@ Libraries › Administration › Koha
+
[% ELSE %]
There are no libraries defined. Start defining libraries.
[% END %] @@ -351,7 +353,7 @@ Libraries › Administration › Koha [% IF op == 'view' && library %]

[% library.branchname | html %]

-
+
    @@ -474,8 +476,7 @@ Libraries › Administration › Koha
[% IF OpacLibraryInfo %] -
-
+

OPAC information

[% OpacLibraryInfo.content | $raw %]