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> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
99014e9395
commit
b9804c0781
|
|
@ -519,7 +519,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>'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue