View | Details | Raw Unified | Return to bug 6347
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-15 / +14 lines)
Lines 152-157 Link Here
152
 });
152
 });
153
// ]]>
153
// ]]>
154
</script>
154
</script>
155
<style type="text/css">td ul { padding : 0; } td li { white-space: nowrap; font-size: 90%; list-style-type:none; padding : .3em 0; }</style>
155
</head>
156
</head>
156
157
157
<body id="opac-holds">
158
<body id="opac-holds">
Lines 371-381 Link Here
371
      <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('expiration_date_[% bibitemloo.biblionumber %]').value='';return false;">Clear Date</a></p>
372
      <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('expiration_date_[% bibitemloo.biblionumber %]').value='';return false;">Clear Date</a></p>
372
    </td>[% END %]
373
    </td>[% END %]
373
374
374
                    [% IF ( bibitemloo.holdable ) %][% IF ( OPACItemHolds ) %]
375
                    [% IF ( bibitemloo.holdable ) %]
376
		    <!-- HOLD ABLE -->
377
		    [% IF ( OPACItemHolds ) %]
378
		    <!-- ITEM HOLDS -->
375
                                          <td class="place_on_type" style="display:none">
379
                                          <td class="place_on_type" style="display:none">
376
                                            <table>
380
                                            <ul>
377
                                              <tr>
381
                                                <li>
378
                                                <td>
379
                                                  [% UNLESS ( bibitemloo.holdable ) %]
382
                                                  [% UNLESS ( bibitemloo.holdable ) %]
380
                                                    <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]"
383
                                                    <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]"
381
                                                           id="reqany_[% bibitemloo.biblionumber %]"
384
                                                           id="reqany_[% bibitemloo.biblionumber %]"
Lines 392-401 Link Here
392
                                                    />
395
                                                    />
393
                                                  [% END %]
396
                                                  [% END %]
394
                                                  <label for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label>
397
                                                  <label for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label>
395
                                                </td>
398
                                                </li>
396
                                              </tr>
399
                                                <li>
397
                                              <tr>
398
                                                <td>
399
                                                  [% UNLESS ( bibitemloo.holdable ) %]
400
                                                  [% UNLESS ( bibitemloo.holdable ) %]
400
                                                    <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]"
401
                                                    <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]"
401
                                                           id="reqspecific_[% bibitemloo.biblionumber %]"
402
                                                           id="reqspecific_[% bibitemloo.biblionumber %]"
Lines 411-419 Link Here
411
                                                    />
412
                                                    />
412
                                                  [% END %]
413
                                                  [% END %]
413
                                                  <label for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label>
414
                                                  <label for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label>
414
                                                </td>
415
                                                </li>
415
                                              </tr>
416
                                            </ul>
416
                                            </table>
417
                                          </td>
417
                                          </td>
418
                                        [% END %][% END %]
418
                                        [% END %][% END %]
419
419
Lines 440-448 Link Here
440
                  [% IF ( OPACItemHolds ) %]
440
                  [% IF ( OPACItemHolds ) %]
441
                  [% IF ( bibitemloo.holdable ) %]
441
                  [% IF ( bibitemloo.holdable ) %]
442
                    <tr class="copiesrow" id="copiesrow_[% bibitemloo.biblionumber %]">
442
                    <tr class="copiesrow" id="copiesrow_[% bibitemloo.biblionumber %]">
443
                      <td colspan="1">
443
                      <td>&nbsp;</td>
444
                      </td>
444
                      <td colspan="[% itemtable_colspan %]">
445
                      <td colspan="[% bibitemloo.itemtable_colspan %]">
446
                        <table>
445
                        <table>
447
                          <caption>Select a specific copy:</caption>
446
                          <caption>Select a specific copy:</caption>
448
                          <tr>
447
                          <tr>
Lines 466-472 Link Here
466
                            <tr class="[% itemLoo.backgroundcolor %]">
465
                            <tr class="[% itemLoo.backgroundcolor %]">
467
                              <td>
466
                              <td>
468
                                [% IF ( itemLoo.available ) %]
467
                                [% IF ( itemLoo.available ) %]
469
                                  <input type="radio" class="checkitem checkitem_[% itemLoo.biblionumber %]" name="checkitem_[% itemLoo.biblionumber %]"
468
                                  <input type="radio" class="checkitem checkitem_[% bibitemloo.biblionumber %]" name="checkitem_[% bibitemloo.biblionumber %]"
470
                                         value="[% itemLoo.itemnumber %]" />
469
                                         value="[% itemLoo.itemnumber %]" />
471
                                [% ELSE %]
470
                                [% ELSE %]
472
                                  <input disabled="disabled" type="radio" class="checkitem" name="checkitem" value="[% itemLoo.itemnumber %]" />
471
                                  <input disabled="disabled" type="radio" class="checkitem" name="checkitem" value="[% itemLoo.itemnumber %]" />
(-)a/opac/opac-reserve.pl (-4 / +3 lines)
Lines 477-487 if ( $numBibsAvailable == 0 || !$anyholdable) { Link Here
477
    $template->param( none_available => 1 );
477
    $template->param( none_available => 1 );
478
}
478
}
479
479
480
my $itemTableColspan = 5;
480
my $itemTableColspan = 7;
481
if (!$template->param('OPACItemHolds')) {
481
if (! $template->{VARS}->{'OPACItemHolds'}) {
482
    $itemTableColspan--;
482
    $itemTableColspan--;
483
}
483
}
484
if ($template->param('singleBranchMode')) {
484
if (! $template->{VARS}->{'singleBranchMode'}) {
485
    $itemTableColspan--;
485
    $itemTableColspan--;
486
}
486
}
487
$template->param(itemtable_colspan => $itemTableColspan);
487
$template->param(itemtable_colspan => $itemTableColspan);
488
- 

Return to bug 6347