Lines 2173-2179
Link Here
|
2173 |
[%# In case or SeparateHoldings we may need to display the number of biblios in each tab %] |
2173 |
[%# In case or SeparateHoldings we may need to display the number of biblios in each tab %] |
2174 |
[%# Do we need separate/new endpoints or do we hack the somewhere client-side? %] |
2174 |
[%# Do we need separate/new endpoints or do we hack the somewhere client-side? %] |
2175 |
let item_table_url = "/api/v1/biblios/[% biblio.biblionumber | uri %]/items?"; |
2175 |
let item_table_url = "/api/v1/biblios/[% biblio.biblionumber | uri %]/items?"; |
2176 |
let embed = ["+strings,checkout,checkout.patron,transfer,first_hold,first_hold.patron,item_type"]; |
2176 |
let embed = ["+strings,checkout,checkout.patron,transfer,transfer+strings,first_hold,first_hold.patron,item_type"]; |
2177 |
[% IF Koha.Preference('LocalCoverImages') %] |
2177 |
[% IF Koha.Preference('LocalCoverImages') %] |
2178 |
embed.push('cover_image_ids'); |
2178 |
embed.push('cover_image_ids'); |
2179 |
[% END %] |
2179 |
[% END %] |
Lines 2397-2405
Link Here
|
2397 |
nodes += "</span>" |
2397 |
nodes += "</span>" |
2398 |
} else if ( row.transfer ) { |
2398 |
} else if ( row.transfer ) { |
2399 |
if ( row.transfer.datesent ) { |
2399 |
if ( row.transfer.datesent ) { |
2400 |
nodes += '<span class="intransit">%s</span>'.format(_("In transit from %s to %s since %s").format(escape_str(row.transfer.frombranch), escape_str(row.transfer.tobranch), $date(row.transfer.datesent))); [%# FIXME display library names, not codes, do we use _strings here? %] |
2400 |
nodes += '<span class="intransit">%s</span>'.format(_("In transit from %s to %s since %s").format(escape_str(row.transfer._strings.from_library.str), escape_str(row.transfer._strings.to_library.str), $date(row.transfer.datesent))); |
2401 |
} else { |
2401 |
} else { |
2402 |
nodes += '<span class="transitrequested">%s</span>'.format(_("Transit pending from %s to %s since %s").format(escape_str(row.transfer.frombranch), escape_str(row.transfer.tobranch), $date(row.transfer.daterequested))); [%# FIXME See above %] |
2402 |
nodes += '<span class="transitrequested">%s</span>'.format(_("Transit pending from %s to %s since %s").format(escape_str(row.transfer._strings.from_library_.str), escape_str(row.transfer._strings.to_library.str), $date(row.transfer.daterequested))); |
2403 |
} |
2403 |
} |
2404 |
} |
2404 |
} |
2405 |
|
2405 |
|
2406 |
- |
|
|