Bugzilla – Attachment 160229 Details for
Bug 34575
Patron search results: Add a CSS class to patron email to ease customization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34575: Add a CSS class to patron email
Bug-34575-Add-a-CSS-class-to-patron-email.patch (text/plain), 1.40 KB, created by
Pedro Amorim
on 2023-12-22 10:37:00 UTC
(
hide
)
Description:
Bug 34575: Add a CSS class to patron email
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-12-22 10:37:00 UTC
Size:
1.40 KB
patch
obsolete
>From 3ad0d28e9300cb4ed3da3ef28f09cc87cfc1f89d Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 22 Dec 2023 10:36:42 +0000 >Subject: [PATCH] Bug 34575: Add a CSS class to patron email > >Adds a CSS class to the patron email section in the 'name-address' column of search results in members-home.pl >No functional behaviour change. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index 4a9b203782..c2a5fd65a1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -482,7 +482,7 @@ > r += $format_address(row, { no_line_break: true, include_li: true }); > > if ( row.email ) { >- r += "<li>" + _("Email: ") + "<a href='mailto:" + encodeURIComponent(row.email) + "'>" + escape_str(row.email) + "</a></li>"; >+ r += "<li class=\"patronemail\">" + _("Email: ") + "<a href='mailto:" + encodeURIComponent(row.email) + "'>" + escape_str(row.email) + "</a></li>"; > } > r += '</ul></div>' > >-- >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 34575
:
160207
|
160229
|
160264
|
162854