|
Lines 1295-1351
Link Here
|
| 1295 |
<caption class="sr-only">Holdings</caption> |
1295 |
<caption class="sr-only">Holdings</caption> |
| 1296 |
<thead> |
1296 |
<thead> |
| 1297 |
<tr> |
1297 |
<tr> |
| 1298 |
[% IF Koha.Preference('OPACLocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] |
1298 |
<th id="item_cover" data-colname="item_cover">Cover image</th> |
| 1299 |
<th id="item_cover" data-colname="item_cover">Cover image</th> |
1299 |
<th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th> |
| 1300 |
[% END %] |
1300 |
<th id="item_current_location" data-colname="item_current_location" class="item_location">Current library</th> |
| 1301 |
[% IF ( item_level_itypes ) %] |
1301 |
<th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th> |
| 1302 |
<th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th> |
1302 |
<th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th> |
| 1303 |
[% END %] |
1303 |
<th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th> |
| 1304 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1304 |
<th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th> |
| 1305 |
<th id="item_current_location" data-colname="item_current_location" class="item_location">Current library</th> |
1305 |
<th id="item_materials" data-colname="item_materials" class="materials">Materials specified</th> |
| 1306 |
[% END %] |
1306 |
<th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th> |
| 1307 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
1307 |
<th id="item_url" data-colname="item_url" class="url">URL</th> |
| 1308 |
<th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th> |
1308 |
<th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th> |
| 1309 |
[% END %] |
|
|
| 1310 |
[% IF ( itemdata_ccode ) %] |
| 1311 |
<th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th> |
| 1312 |
[% END %] |
| 1313 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %] |
| 1314 |
<th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th> |
| 1315 |
[% END %] |
| 1316 |
[% IF ( itemdata_itemcallnumber ) %] |
| 1317 |
<th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th> |
| 1318 |
[% END %] |
| 1319 |
[% IF ( itemdata_materials ) %] |
| 1320 |
<th id="item_materials" data-colname="item_materials" class="materials">Materials specified</th> |
| 1321 |
[% END %] |
| 1322 |
[% IF ( itemdata_enumchron ) %] |
| 1323 |
<th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th> |
| 1324 |
[% END %] |
| 1325 |
[% IF ( itemdata_uri ) %] |
| 1326 |
<th id="item_url" data-colname="item_url" class="url">URL</th> |
| 1327 |
[% END %] |
| 1328 |
[% IF ( itemdata_copynumber ) %] |
| 1329 |
<th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th> |
| 1330 |
[% END %] |
| 1331 |
<th id="item_status" data-colname="item_status" class="status">Status</th> |
1309 |
<th id="item_status" data-colname="item_status" class="status">Status</th> |
| 1332 |
[% IF ( itemdata_itemnotes ) %] |
1310 |
<th id="item_notes" data-colname="item_notes" class="notes">Notes</th> |
| 1333 |
<th id="item_notes" data-colname="item_notes" class="notes">Notes</th> |
1311 |
<th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th> |
| 1334 |
[% END %] |
1312 |
<th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th> |
| 1335 |
[% IF ( item_checkouts ) %] |
1313 |
<th id="item_holds" data-colname="item_holds">Item holds</th> |
| 1336 |
<th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th> |
1314 |
<th id="item_priority" data-colname="item_priority">Item hold queue priority</th> |
| 1337 |
[% END %] |
1315 |
<th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th> |
| 1338 |
[% IF ( itemdata_barcode ) %] |
|
|
| 1339 |
<th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th> |
| 1340 |
[% END %] |
| 1341 |
[% IF item_level_holds > 0 %] |
| 1342 |
<th id="item_holds" data-colname="item_holds">Item holds</th> |
| 1343 |
[% ELSIF show_priority %] |
| 1344 |
<th id="item_priority" data-colname="item_priority">Item hold queue priority</th> |
| 1345 |
[% END %] |
| 1346 |
[% IF ( ShowCourseReservesHeader ) %] |
| 1347 |
<th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th> |
| 1348 |
[% END %] |
| 1349 |
<th class="dtr-control-col"></th> |
1316 |
<th class="dtr-control-col"></th> |
| 1350 |
</tr> |
1317 |
</tr> |
| 1351 |
</thead> |
1318 |
</thead> |
|
Lines 1366-1371
Link Here
|
| 1366 |
</div> |
1333 |
</div> |
| 1367 |
</div> |
1334 |
</div> |
| 1368 |
</td> |
1335 |
</td> |
|
|
1336 |
[% ELSE %] |
| 1337 |
<td></td> |
| 1369 |
[% END %] |
1338 |
[% END %] |
| 1370 |
|
1339 |
|
| 1371 |
[% IF ( item_level_itypes ) %] |
1340 |
[% IF ( item_level_itypes ) %] |
|
Lines 1377-1382
Link Here
|
| 1377 |
[% END %] |
1346 |
[% END %] |
| 1378 |
<span class="itypetext">[% ITEM_RESULT.description | html %]</span> |
1347 |
<span class="itypetext">[% ITEM_RESULT.description | html %]</span> |
| 1379 |
</td> |
1348 |
</td> |
|
|
1349 |
[% ELSE %] |
| 1350 |
<td></td> |
| 1380 |
[% END %] |
1351 |
[% END %] |
| 1381 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1352 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
| 1382 |
[%# Show opac_info or branchurl from holding library %] |
1353 |
[%# Show opac_info or branchurl from holding library %] |
|
Lines 1400-1405
Link Here
|
| 1400 |
<span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span> |
1371 |
<span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span> |
| 1401 |
[% END %] |
1372 |
[% END %] |
| 1402 |
</td> |
1373 |
</td> |
|
|
1374 |
[% ELSE %] |
| 1375 |
<td></td> |
| 1403 |
[% END %] |
1376 |
[% END %] |
| 1404 |
|
1377 |
|
| 1405 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
1378 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
|
Lines 1424-1437
Link Here
|
| 1424 |
<span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span> |
1397 |
<span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span> |
| 1425 |
[% END %] |
1398 |
[% END %] |
| 1426 |
</td> |
1399 |
</td> |
|
|
1400 |
[% ELSE %] |
| 1401 |
<td></td> |
| 1427 |
[% END %] |
1402 |
[% END %] |
| 1428 |
|
1403 |
|
| 1429 |
[% IF ( itemdata_ccode ) %] |
1404 |
[% IF ( itemdata_ccode ) %] |
| 1430 |
<td class="collection">[% ITEM_RESULT.ccode | html %]</td> |
1405 |
<td class="collection">[% ITEM_RESULT.ccode | html %]</td> |
|
|
1406 |
[% ELSE %] |
| 1407 |
<td></td> |
| 1431 |
[% END %] |
1408 |
[% END %] |
| 1432 |
|
1409 |
|
| 1433 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %] |
1410 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %] |
| 1434 |
<td class="shelving_location"><span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span></td> |
1411 |
<td class="shelving_location"><span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span></td> |
|
|
1412 |
[% ELSE %] |
| 1413 |
<td></td> |
| 1435 |
[% END %] |
1414 |
[% END %] |
| 1436 |
|
1415 |
|
| 1437 |
[% IF ( itemdata_itemcallnumber ) %] |
1416 |
[% IF ( itemdata_itemcallnumber ) %] |
|
Lines 1456-1465
Link Here
|
| 1456 |
[% END %] |
1435 |
[% END %] |
| 1457 |
[% END %] |
1436 |
[% END %] |
| 1458 |
</td> |
1437 |
</td> |
|
|
1438 |
[% ELSE %] |
| 1439 |
<td></td> |
| 1459 |
[% END %] |
1440 |
[% END %] |
| 1460 |
|
1441 |
|
| 1461 |
[% IF ( itemdata_materials ) %] |
1442 |
[% IF ( itemdata_materials ) %] |
| 1462 |
<td class="materials">[% ITEM_RESULT.materials | html %]</td> |
1443 |
<td class="materials">[% ITEM_RESULT.materials | html %]</td> |
|
|
1444 |
[% ELSE %] |
| 1445 |
<td></td> |
| 1463 |
[% END %] |
1446 |
[% END %] |
| 1464 |
|
1447 |
|
| 1465 |
[% IF ( itemdata_enumchron ) %] |
1448 |
[% IF ( itemdata_enumchron ) %] |
|
Lines 1480-1486
Link Here
|
| 1480 |
<span class="pubdate">([% serial.publisheddate | $KohaDates %])</span> |
1463 |
<span class="pubdate">([% serial.publisheddate | $KohaDates %])</span> |
| 1481 |
[% END %] |
1464 |
[% END %] |
| 1482 |
</td> |
1465 |
</td> |
|
|
1466 |
[% ELSE %] |
| 1467 |
<td></td> |
| 1483 |
[% END %] |
1468 |
[% END %] |
|
|
1469 |
|
| 1484 |
[% IF ( itemdata_uri ) %] |
1470 |
[% IF ( itemdata_uri ) %] |
| 1485 |
<td class="url"> |
1471 |
<td class="url"> |
| 1486 |
[% IF ITEM_RESULT.uri %] |
1472 |
[% IF ITEM_RESULT.uri %] |
|
Lines 1522-1537
Link Here
|
| 1522 |
[% END %] |
1508 |
[% END %] |
| 1523 |
[% END %] |
1509 |
[% END %] |
| 1524 |
</td> |
1510 |
</td> |
|
|
1511 |
[% ELSE %] |
| 1512 |
<td></td> |
| 1525 |
[% END # /IF itemdata_uri %] |
1513 |
[% END # /IF itemdata_uri %] |
| 1526 |
[% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber | html %]</td>[% END %] |
1514 |
|
|
|
1515 |
[% IF ( itemdata_copynumber ) %] |
| 1516 |
<td class="copynumber">[% ITEM_RESULT.copynumber | html %]</td> |
| 1517 |
[% ELSE %] |
| 1518 |
<td></td> |
| 1519 |
[% END %] |
| 1520 |
|
| 1527 |
<td class="status">[% INCLUDE 'item-status.inc' item = ITEM_RESULT.object include_schema_org = 1 %]</td> |
1521 |
<td class="status">[% INCLUDE 'item-status.inc' item = ITEM_RESULT.object include_schema_org = 1 %]</td> |
| 1528 |
[% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes | $raw %]</td>[% END %] |
1522 |
|
|
|
1523 |
[% IF ( itemdata_itemnotes ) %] |
| 1524 |
<td class="notes" property="description">[% ITEM_RESULT.itemnotes | $raw %]</td> |
| 1525 |
[% ELSE %] |
| 1526 |
<td></td> |
| 1527 |
[% END %] |
| 1528 |
|
| 1529 |
[% IF item_checkouts %] |
1529 |
[% IF item_checkouts %] |
| 1530 |
<td class="date_due" data-order="[% ITEM_RESULT.checkout.date_due | html %]">[% ITEM_RESULT.checkout.date_due | $KohaDates as_due_date => 1 %]</td> |
1530 |
<td class="date_due" data-order="[% ITEM_RESULT.checkout.date_due | html %]">[% ITEM_RESULT.checkout.date_due | $KohaDates as_due_date => 1 %]</td> |
|
|
1531 |
[% ELSE %] |
| 1532 |
<td></td> |
| 1531 |
[% END %] |
1533 |
[% END %] |
| 1532 |
|
1534 |
|
| 1533 |
[% IF ( itemdata_barcode ) %] |
1535 |
[% IF ( itemdata_barcode ) %] |
| 1534 |
<td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode | html %]</td> |
1536 |
<td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode | html %]</td> |
|
|
1537 |
[% ELSE %] |
| 1538 |
<td></td> |
| 1535 |
[% END %] |
1539 |
[% END %] |
| 1536 |
|
1540 |
|
| 1537 |
[% IF item_level_holds > 0 %] |
1541 |
[% IF item_level_holds > 0 %] |
|
Lines 1545-1552
Link Here
|
| 1545 |
[% END %] |
1549 |
[% END %] |
| 1546 |
[% END %] |
1550 |
[% END %] |
| 1547 |
</td> |
1551 |
</td> |
|
|
1552 |
<td></td> |
| 1548 |
[% ELSIF show_priority %] |
1553 |
[% ELSIF show_priority %] |
|
|
1554 |
<td></td> |
| 1549 |
<td class="holds_priority">[% priority | html %]</td> |
1555 |
<td class="holds_priority">[% priority | html %]</td> |
|
|
1556 |
[% ELSE %] |
| 1557 |
<td></td> |
| 1558 |
<td></td> |
| 1550 |
[% END %] |
1559 |
[% END %] |
| 1551 |
|
1560 |
|
| 1552 |
[% IF ShowCourseReservesHeader %] |
1561 |
[% IF ShowCourseReservesHeader %] |
|
Lines 1566-1571
Link Here
|
| 1566 |
[% END %] |
1575 |
[% END %] |
| 1567 |
[% END %] |
1576 |
[% END %] |
| 1568 |
</td> |
1577 |
</td> |
|
|
1578 |
[% ELSE %] |
| 1579 |
<td></td> |
| 1569 |
[% END # /IF ShowCourseReservesHeader %] |
1580 |
[% END # /IF ShowCourseReservesHeader %] |
| 1570 |
<td></td> |
1581 |
<td></td> |
| 1571 |
</tr> |
1582 |
</tr> |
| 1572 |
- |
|
|