Bugzilla – Attachment 142480 Details for
Bug 31939
Add page-section to admin > libraries area
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31939: Add page-section to branches template
Bug-31939-Add-page-section-to-branches-template.patch (text/plain), 2.36 KB, created by
Martin Renvoize (ashimema)
on 2022-10-24 11:22:52 UTC
(
hide
)
Description:
Bug 31939: Add page-section to branches template
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-10-24 11:22:52 UTC
Size:
2.36 KB
patch
obsolete
>From c7dd22f41b6123387683570597ae66546a9cc3f3 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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. >--- > 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' %] > <h1>Libraries</h1> > [% IF libraries_count > 0 %] >+ <div class="page-section"> > <table id="libraries"> > <thead> > <tr> >@@ -344,6 +345,7 @@ Libraries › Administration › Koha > </tr> > </thead> > </table> >+ </div> > [% ELSE %] > <div class="dialog message">There are no libraries defined. <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">Start defining libraries</a>.</div> > [% END %] >@@ -351,7 +353,7 @@ Libraries › Administration › Koha > > [% IF op == 'view' && library %] > <h1>[% library.branchname | html %]</h1> >- <div class="row"> >+ <div class="row page-section"> > <div class="col-sm-6"> > <div class="rows"> > <ol> >@@ -474,8 +476,7 @@ Libraries › Administration › Koha > </div> <!-- /.col-sm-6 --> > </div> <!-- /.row --> > [% IF OpacLibraryInfo %]<!-- opac_info --> >- <hr /> >- <div class="row"> >+ <div class="row page-section"> > <div class="col-sm-12"> > <h2>OPAC information</h2> > <div>[% OpacLibraryInfo.content | $raw %]</div> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31939
:
142480
|
142499
|
142526