|
Lines 584-591
Link Here
|
| 584 |
} |
584 |
} |
| 585 |
} |
585 |
} |
| 586 |
|
586 |
|
| 587 |
[% IF Koha.Preference('UseRecalls') %] |
587 |
if ( status == 'recalled' && row.recall && ( row.item_id === row.recall.item_id ) ) { |
| 588 |
if ( row.recall && ( row.item_id === row.recall.item_id ) ) { |
|
|
| 589 |
if ( row.recall.waiting_date ) { |
588 |
if ( row.recall.waiting_date ) { |
| 590 |
nodes += '<span class="holding_status recallwaiting">%s</span>'.format(_("Waiting recall at %s since %s").format(escape_str(row.recall._strings.pickup_library_id.str), $date(row.recall.waiting_date))); |
589 |
nodes += '<span class="holding_status recallwaiting">%s</span>'.format(_("Waiting recall at %s since %s").format(escape_str(row.recall._strings.pickup_library_id.str), $date(row.recall.waiting_date))); |
| 591 |
} else { |
590 |
} else { |
|
Lines 596-602
Link Here
|
| 596 |
nodes += '<span class="holding_status recalledby">%s</span>'.format(_("Recalled by %s on %s").format(patron_to_html, $date(row.recall.created_date))) |
595 |
nodes += '<span class="holding_status recalledby">%s</span>'.format(_("Recalled by %s on %s").format(patron_to_html, $date(row.recall.created_date))) |
| 597 |
} |
596 |
} |
| 598 |
} |
597 |
} |
| 599 |
[% END %] |
598 |
|
| 600 |
if ( status == 'available' ) { |
599 |
if ( status == 'available' ) { |
| 601 |
nodes += ' <span>%s</span>'.format(_("Available")) |
600 |
nodes += ' <span>%s</span>'.format(_("Available")) |
| 602 |
} |
601 |
} |
| 603 |
- |
|
|