|
Lines 448-458
Link Here
|
| 448 |
|
448 |
|
| 449 |
nodes += '<span>'; |
449 |
nodes += '<span>'; |
| 450 |
if ( row.checkout.onsite_checkout ) { |
450 |
if ( row.checkout.onsite_checkout ) { |
| 451 |
let patron_to_html = $patron_to_html(row.checkout.patron); |
451 |
let patron_to_html = $patron_to_html(row.checkout.patron, { url: true }); |
| 452 |
nodes += _("Currently in local use by %s").format(patron_to_html); |
452 |
nodes += _("Currently in local use by %s").format(patron_to_html); |
| 453 |
} else { |
453 |
} else { |
| 454 |
nodes += '<span class="datedue">'; |
454 |
nodes += '<span class="datedue">'; |
| 455 |
let patron_to_html = $patron_to_html(row.checkout.patron); |
455 |
let patron_to_html = $patron_to_html(row.checkout.patron, { url: true }); |
| 456 |
nodes += _("Checked out to %s").format(patron_to_html); |
456 |
nodes += _("Checked out to %s").format(patron_to_html); |
| 457 |
} |
457 |
} |
| 458 |
nodes += ': '; |
458 |
nodes += ': '; |
|
Lines 498-504
Link Here
|
| 498 |
[%# Hacky for patron_to_html in case we simply want to display the patron's library name %] |
498 |
[%# Hacky for patron_to_html in case we simply want to display the patron's library name %] |
| 499 |
row.first_hold.patron.library = { name: libraries_names.get(row.first_hold.patron.library_id) }; |
499 |
row.first_hold.patron.library = { name: libraries_names.get(row.first_hold.patron.library_id) }; |
| 500 |
|
500 |
|
| 501 |
let patron_to_html = $patron_to_html(row.first_hold.patron); [%# FIXME What about hide_patron_infos_if_needed?? %] |
501 |
let patron_to_html = $patron_to_html(row.first_hold.patron, { url: true }); |
| 502 |
nodes += ' <span class="heldfor">%s</span>'.format(_("Hold for: %s").format(patron_to_html)); |
502 |
nodes += ' <span class="heldfor">%s</span>'.format(_("Hold for: %s").format(patron_to_html)); |
| 503 |
} |
503 |
} |
| 504 |
[% END %] |
504 |
[% END %] |
|
Lines 515-521
Link Here
|
| 515 |
[%# Hacky for patron_to_html in case we simply want to display the patron's library name %] |
515 |
[%# Hacky for patron_to_html in case we simply want to display the patron's library name %] |
| 516 |
row.recall.patron.library = { name: libraries_names.get(row.recall.patron.library_id) }; |
516 |
row.recall.patron.library = { name: libraries_names.get(row.recall.patron.library_id) }; |
| 517 |
|
517 |
|
| 518 |
let patron_to_html = $patron_to_html(row.recall.patron); |
518 |
let patron_to_html = $patron_to_html(row.recall.patron, {url: true }); |
| 519 |
nodes += '<span>%s</span>'.format(_("recalled by %s on %s").format(patron_to_html, $date(row.recall.created_date))) |
519 |
nodes += '<span>%s</span>'.format(_("recalled by %s on %s").format(patron_to_html, $date(row.recall.created_date))) |
| 520 |
} |
520 |
} |
| 521 |
} |
521 |
} |
| 522 |
- |
|
|