Bugzilla – Attachment 162854 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.52 KB, created by
Victor Grousset/tuxayo
on 2024-03-06 20:13:44 UTC
(
hide
)
Description:
Bug 34575: Add a CSS class to patron email
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-03-06 20:13:44 UTC
Size:
1.52 KB
patch
obsolete
>From a854a44d40d32cb525c68ae0e356d2bf72c70a4c 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. > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > 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 c481838b21..b778a3e6a5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -515,7 +515,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=\"patron_email\">" + _("Email: ") + "<a href='mailto:" + encodeURIComponent(row.email) + "'>" + escape_str(row.email) + "</a></li>"; > } > r += '</ul></div>' > >-- >2.44.0
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