Bugzilla – Attachment 160264 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.46 KB, created by
Biblibre Sandboxes
on 2023-12-22 17:11:35 UTC
(
hide
)
Description:
Bug 34575: Add a CSS class to patron email
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2023-12-22 17:11:35 UTC
Size:
1.46 KB
patch
obsolete
>From fabd3ec84ae6e2a50c4227d5986e8ecf60e05be8 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> >--- > 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