Bugzilla – Attachment 142461 Details for
Bug 31765
Add 'page-section' to import patrons page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31765: Add page-section and bg-info classes to 'Notes'
Bug-31765-Add-page-section-and-bg-info-classes-to-.patch (text/plain), 1.96 KB, created by
Katrin Fischer
on 2022-10-23 12:42:09 UTC
(
hide
)
Description:
Bug 31765: Add page-section and bg-info classes to 'Notes'
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-23 12:42:09 UTC
Size:
1.96 KB
patch
obsolete
>From 6e41b43a520211ec73c73a1c51ea7dae764bbd1f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Sat, 22 Oct 2022 09:20:20 +0100 >Subject: [PATCH] Bug 31765: Add page-section and bg-info classes to 'Notes' > >This patch adds the page-section and bg-info classes to the 'Notes' >section of the patron imports page. > >As part of this patch, we update the base 'card' mixin to allow >background colors to be overwridden with the standard bg-* options >available in [bootstrap](https://getbootstrap.com/docs/4.0/utilities/colors/) > >Test plan >1) Build your CSS in the usual way >2) Confirm the Notes block looks OK on the patron imports tool >--- > koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss | 4 +++- > .../intranet-tmpl/prog/en/modules/tools/import_borrowers.tt | 2 +- > 2 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss >index aa901e6969..54a362938f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss >@@ -40,5 +40,7 @@ $nav-menu-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/s > } > > @mixin card { >- background-color: white; >+ &:not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-success):not(.bg-primary) { >+ background-color: white; >+ } > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >index 1d1f03c04b..e0b14a8b2c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt >@@ -365,7 +365,7 @@ > > </div> > >-<div class="col-sm-6"> >+<div class="col-sm-6 page-section bg-info"> > <h2>Notes:</h2> > <ul> > <li>The first line in the file must be a header row defining which columns you are supplying in the import file.</li> >-- >2.30.2
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 31765
:
142449
|
142461
|
142462