|
Lines 350-355
function placeHold () {
Link Here
|
| 350 |
|
350 |
|
| 351 |
[% END %] |
351 |
[% END %] |
| 352 |
|
352 |
|
|
|
353 |
[% SET max_callnumber_length = 0 %] |
| 354 |
[% SET max_branchname_length = 0 %] |
| 355 |
[% SET max_locdescription_length = 0 %] |
| 356 |
[% FOREACH b IN BIBLIO_RESULTS %] |
| 357 |
[% FOREACH i IN b.ITEM_RESULTS %] |
| 358 |
[% IF i.itemcallnumber.length() > max_callnumber_length %] |
| 359 |
[% SET max_callnumber_length = i.itemcallnumber.length() %] |
| 360 |
[% END %] |
| 361 |
[% IF i.branchname.length() > max_branchname_length %] |
| 362 |
[% SET max_branchname_length = i.branchname.length() %] |
| 363 |
[% END %] |
| 364 |
[% IF i.location_description.length() > max_locdescription_length %] |
| 365 |
[% SET max_locdescription_length = i.location_description.length() %] |
| 366 |
[% END %] |
| 367 |
[% END %] |
| 368 |
[% END %] |
| 369 |
|
| 353 |
</p> |
370 |
</p> |
| 354 |
<table id="itemst"> |
371 |
<table id="itemst"> |
| 355 |
<thead><tr> |
372 |
<thead><tr> |
|
Lines 385-391
function placeHold () {
Link Here
|
| 385 |
<td> |
402 |
<td> |
| 386 |
[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] |
403 |
[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] |
| 387 |
[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] |
404 |
[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] |
| 388 |
<div><span class="nowrap"><strong>[% ITEM_RESULT.itemcallnumber %]</strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div> |
405 |
<div><span class="nowrap monospace">[% String.new( ITEM_RESULT.itemcallnumber ).left( max_callnumber_length ).replace(' ', ' ') %] [% String.new( ITEM_RESULT.branchname ).left( max_branchname_length ).replace(' ', ' ') %] <span class="shelvingloc inline">[% String.new( ITEM_RESULT.location_description ).left( max_locdescription_length ).replace(' ', ' ') %]</span></span></div> |
| 389 |
[% END %] |
406 |
[% END %] |
| 390 |
[% ELSE %] |
407 |
[% ELSE %] |
| 391 |
This record has no items. |
408 |
This record has no items. |
| 392 |
- |
|
|