Bugzilla – Attachment 147163 Details for
Bug 33038
Add classes to category code and category type in patron brief information for easier customization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33038: Add classes to patroncategorycode for easier customization
Bug-33038-Add-classes-to-patroncategorycode-for-ea.patch (text/plain), 1.56 KB, created by
Lucas Gass (lukeg)
on 2023-02-22 15:02:22 UTC
(
hide
)
Description:
Bug 33038: Add classes to patroncategorycode for easier customization
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-02-22 15:02:22 UTC
Size:
1.56 KB
patch
obsolete
>From f87e5edf74849ab023a0fb8b973365939921a8ff Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 22 Feb 2023 15:00:19 +0000 >Subject: [PATCH] Bug 33038: Add classes to patroncategorycode for easier > customization > >To test: >1. Pull up a patron and look at the patroncategory inside the patronbriefinfo. Description and code are together in one HTML element, they are hard to seperate. >2. Apply patch. >3. Look again and notice the new classes. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index be02b213ec..c4bba30f13 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -112,7 +112,7 @@ > [% END %] > [% END %] > [% END %] >- <li class="patroncategory">Category: [% patron.category.description | html %] ([% patron.categorycode | html %])</li> >+ <li class="patroncategory">Category: <span class="patroncategory_description">[% patron.category.description | html %]</span><span class="patroncategory_code"> ([% patron.categorycode | html %])</span></li> > <li class="patronlibrary">Home library: [% Branches.GetName( patron.branchcode ) | html %]</li> > <li class="patronborrowernumber">Borrowernumber: [% patron.borrowernumber | html %]</li> > <li><span class="patronupdatedon">Updated on [% patron.updated_on | $KohaDates with_hours => 1 %]</span></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 33038
:
147163
|
149698
|
149711