Lines 488-495
Link Here
|
488 |
nodes += '<span class="wdn">%s</span>'.format(escape_str(withdrawn_lib)); |
488 |
nodes += '<span class="wdn">%s</span>'.format(escape_str(withdrawn_lib)); |
489 |
} |
489 |
} |
490 |
|
490 |
|
491 |
if ( row.damaged ) { |
491 |
if ( row.damaged_status ) { |
492 |
let damaged_lib = av_damaged.get(row.damaged.toString()) || _("Damaged"); |
492 |
let damaged_lib = av_damaged.get(row.damaged_status.toString()) || _("Damaged"); |
493 |
nodes += '<span class="dmg">%s</span>'.format(escape_str(damaged_lib)); |
493 |
nodes += '<span class="dmg">%s</span>'.format(escape_str(damaged_lib)); |
494 |
} |
494 |
} |
495 |
|
495 |
|
Lines 533-539
Link Here
|
533 |
} |
533 |
} |
534 |
[% END %] |
534 |
[% END %] |
535 |
|
535 |
|
536 |
if ( ! ( row.not_for_loan_status || item_types_notforloan[row.item_type_id] || row.checked_out_date || row.lost_status || row.withdrawn || row.damaged || row.transfer || row.first_hold || row.recall ) ) { |
536 |
if ( ! ( row.not_for_loan_status || item_types_notforloan[row.item_type_id] || row.checked_out_date || row.lost_status || row.withdrawn || row.damaged_status || row.transfer || row.first_hold || row.recall ) ) { |
537 |
nodes += ' <span>%s</span>'.format(_("Available")) |
537 |
nodes += ' <span>%s</span>'.format(_("Available")) |
538 |
} |
538 |
} |
539 |
|
539 |
|
540 |
- |
|
|