Lines 505-516
Link Here
|
505 |
r += $patron_to_html(row, { invert_name: 1 }); |
505 |
r += $patron_to_html(row, { invert_name: 1 }); |
506 |
[% END %] |
506 |
[% END %] |
507 |
r += '<br/>'; |
507 |
r += '<br/>'; |
|
|
508 |
[% IF CAN_user_borrowers_view_contact_information %] |
508 |
r += '<div class="address"><ul>'; |
509 |
r += '<div class="address"><ul>'; |
509 |
r += $format_address(row, { no_line_break: true, include_li: true }); |
510 |
r += $format_address(row, { no_line_break: true, include_li: true }); |
510 |
|
511 |
|
511 |
if ( row.email ) { |
512 |
if ( row.email ) { |
512 |
r += "<li class=\"patron_email\">" + _("Email: ") + "<a href='mailto:" + encodeURIComponent(row.email) + "'>" + escape_str(row.email) + "</a></li>"; |
513 |
r += "<li class=\"patron_email\">" + _("Email: ") + "<a href='mailto:" + encodeURIComponent(row.email) + "'>" + escape_str(row.email) + "</a></li>"; |
513 |
} |
514 |
} |
|
|
515 |
[% END %] |
514 |
r += '</ul></div>' |
516 |
r += '</ul></div>' |
515 |
|
517 |
|
516 |
return r; |
518 |
return r; |
517 |
- |
|
|