|
Lines 694-700
function patron_autocomplete(node, options) {
Link Here
|
| 694 |
" " + |
694 |
" " + |
| 695 |
(item.other_name ? "(" + item.other_name.escapeHtml() + ")" : "") + |
695 |
(item.other_name ? "(" + item.other_name.escapeHtml() + ")" : "") + |
| 696 |
cardnumber.escapeHtml() + |
696 |
cardnumber.escapeHtml() + |
| 697 |
" <small>" + |
697 |
" " + |
| 698 |
(item.date_of_birth |
698 |
(item.date_of_birth |
| 699 |
? $date(item.date_of_birth) + |
699 |
? $date(item.date_of_birth) + |
| 700 |
'<span class="age_years"> (' + |
700 |
'<span class="age_years"> (' + |
|
Lines 710-724
function patron_autocomplete(node, options) {
Link Here
|
| 710 |
}) + |
710 |
}) + |
| 711 |
" " + |
711 |
" " + |
| 712 |
(!singleBranchMode |
712 |
(!singleBranchMode |
| 713 |
? '<span class="ac-library">' + |
713 |
? '<span class="badge ac-library">' + |
| 714 |
item.library.name.escapeHtml() + |
714 |
item.library.name.escapeHtml() + |
| 715 |
"</span>" |
715 |
"</span>" |
| 716 |
: "") + |
716 |
: "") + |
| 717 |
"</small>" + |
|
|
| 718 |
(expired |
717 |
(expired |
| 719 |
? '<small><span class="circ-hlt">' + |
718 |
? '<span class="badge text-bg-warning">' + |
| 720 |
__("expired") + |
719 |
__("Expired") + |
| 721 |
"</span></small>" |
720 |
"</span>" |
|
|
721 |
: "") + |
| 722 |
(item.restricted |
| 723 |
? '<span class="badge text-bg-danger">' + |
| 724 |
__("Restricted") + |
| 725 |
"</span>" |
| 722 |
: "") + |
726 |
: "") + |
| 723 |
"</a>" |
727 |
"</a>" |
| 724 |
) |
728 |
) |
| 725 |
- |
|
|