Lines 1182-1194
Link Here
|
1182 |
<thead> |
1182 |
<thead> |
1183 |
<tr> |
1183 |
<tr> |
1184 |
[% IF ( item_level_itypes ) %]<th id="item_itemtype" class="itype">Item type</th>[% END %] |
1184 |
[% IF ( item_level_itypes ) %]<th id="item_itemtype" class="itype">Item type</th>[% END %] |
1185 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %] |
1185 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1186 |
<th id="item_current_location" class="item_location">Current location</th> |
1186 |
<th id="item_current_location" class="item_location">Current location</th> |
1187 |
[% END %] |
1187 |
[% END %] |
1188 |
[% UNLESS ( singleBranchMode ) %] |
1188 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
1189 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
1189 |
<th id="item_home_location" class="item_location">Home library</th> |
1190 |
<th id="item_home_location" class="item_location">Home library</th> |
|
|
1191 |
[% END %] |
1192 |
[% END %] |
1190 |
[% END %] |
1193 |
[% IF ( itemdata_ccode ) %]<th id="item_ccode" class="collection">Collection</th>[% END %] |
1191 |
[% IF ( itemdata_ccode ) %]<th id="item_ccode" class="collection">Collection</th>[% END %] |
1194 |
<th id="item_callnumber" class="call_no">Call number</th> |
1192 |
<th id="item_callnumber" class="call_no">Call number</th> |
Lines 1224-1277
Link Here
|
1224 |
[% ITEM_RESULT.description %] |
1222 |
[% ITEM_RESULT.description %] |
1225 |
</td> |
1223 |
</td> |
1226 |
[% END %] |
1224 |
[% END %] |
1227 |
[% UNLESS singleBranchMode %] |
1225 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1228 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1226 |
<td class="location" property="seller"> |
1229 |
<td class="location" property="seller"> |
1227 |
<link property="itemOffered" href="#record" /> |
1230 |
<link property="itemOffered" href="#record" /> |
1228 |
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut"> |
1231 |
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut"> |
1229 |
<span class="[% ITEM_RESULT.holding_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title=""> |
1232 |
<span class="[% ITEM_RESULT.holding_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title=""> |
1230 |
[% IF ( ITEM_RESULT.branchurl ) %] |
1233 |
[% IF ( ITEM_RESULT.branchurl ) %] |
1231 |
<a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a> |
1234 |
<a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a> |
1232 |
[% ELSE %] |
1235 |
[% ELSE %] |
1233 |
<span>[% ITEM_RESULT.branchname %]</span> |
1236 |
<span>[% ITEM_RESULT.branchname %]</span> |
|
|
1237 |
[% END %] |
1238 |
</span> |
1239 |
<div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info %]</div> |
1240 |
|
1241 |
[% IF ( OpacLocationBranchToDisplayShelving == 'holding' || OpacLocationBranchToDisplayShelving == 'both' ) %] |
1242 |
<span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> |
1243 |
[% END %] |
1234 |
[% END %] |
|
|
1235 |
</span> |
1236 |
<div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info %]</div> |
1244 |
|
1237 |
|
1245 |
</td> |
1238 |
[% IF ( OpacLocationBranchToDisplayShelving == 'holding' || OpacLocationBranchToDisplayShelving == 'both' ) %] |
1246 |
[% END %] |
1239 |
<span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> |
|
|
1240 |
[% END %] |
1247 |
|
1241 |
|
1248 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
1242 |
</td> |
1249 |
<td class="location" property="seller"> |
1243 |
[% END %] |
1250 |
<link property="itemOffered" href="#record" /> |
1244 |
|
1251 |
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut"> |
1245 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
1252 |
<span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title=""> |
1246 |
<td class="location" property="seller"> |
1253 |
[% IF Branches.GetURL( ITEM_RESULT.homebranch ) %] |
1247 |
<link property="itemOffered" href="#record" /> |
1254 |
[% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %] |
1248 |
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut"> |
1255 |
[% IF ( home_branch_url ) %] |
1249 |
<span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title=""> |
1256 |
<a href="[% home_branch_url %]">[% Branches.GetName( ITEM_RESULT.homebranch ) %]</a> |
1250 |
[% IF Branches.GetURL( ITEM_RESULT.homebranch ) %] |
1257 |
[% ELSE %] |
1251 |
[% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %] |
1258 |
<span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span> |
1252 |
[% IF ( home_branch_url ) %] |
1259 |
[% END %] |
1253 |
<a href="[% home_branch_url %]">[% Branches.GetName( ITEM_RESULT.homebranch ) %]</a> |
1260 |
[% ELSE %] |
1254 |
[% ELSE %] |
1261 |
<span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span> |
1255 |
<span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span> |
1262 |
[% END %] |
1256 |
[% END %] |
1263 |
</span> |
1257 |
[% ELSE %] |
1264 |
<div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info %]</div> |
1258 |
<span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span> |
1265 |
|
|
|
1266 |
[% IF ( OpacLocationBranchToDisplayShelving == 'home' || OpacLocationBranchToDisplayShelving == 'both' ) %] |
1267 |
<span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> |
1268 |
[% END %] |
1259 |
[% END %] |
|
|
1260 |
</span> |
1261 |
<div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info %]</div> |
1269 |
|
1262 |
|
1270 |
</td> |
1263 |
[% IF ( OpacLocationBranchToDisplayShelving == 'home' || OpacLocationBranchToDisplayShelving == 'both' ) %] |
1271 |
[% END %] |
1264 |
<span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> |
|
|
1265 |
[% END %] |
1272 |
|
1266 |
|
1273 |
[% ELSE %] |
1267 |
</td> |
1274 |
<td class="location"><span class="shelvingloc">[% ITEM_RESULT.location_description %]</span></td> |
|
|
1275 |
[% END %] |
1268 |
[% END %] |
1276 |
|
1269 |
|
1277 |
[% IF ( itemdata_ccode ) %] |
1270 |
[% IF ( itemdata_ccode ) %] |
Lines 1481-1490
Link Here
|
1481 |
$(".holdingst").dataTable($.extend(true, {}, dataTablesDefaults, { |
1474 |
$(".holdingst").dataTable($.extend(true, {}, dataTablesDefaults, { |
1482 |
"aoColumns": [ |
1475 |
"aoColumns": [ |
1483 |
[% IF ( item_level_itypes ) %]null,[% END %] |
1476 |
[% IF ( item_level_itypes ) %]null,[% END %] |
1484 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %]null,[% END %] |
1477 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]null,[% END %] |
1485 |
[% UNLESS ( singleBranchMode ) %] |
1478 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]null,[% END %] |
1486 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]null,[% END %] |
|
|
1487 |
[% END %] |
1488 |
[% IF ( itemdata_ccode ) %]null,[% END %] |
1479 |
[% IF ( itemdata_ccode ) %]null,[% END %] |
1489 |
null, |
1480 |
null, |
1490 |
[% IF ( itemdata_enumchron ) %]null,[% END %] |
1481 |
[% IF ( itemdata_enumchron ) %]null,[% END %] |
1491 |
- |
|
|