width: 242px;
}
+.rdetail_aux_copycounts,
+.rdetail_aux_holdcounts {
+ padding: 5px 10px 0 10px;
+ margin: 0;
+}
+
div.place_hold {
border-bottom: 1px solid #e6e6e6;
padding-top: 10px;
<span id="rdetail_copy_counts">
- <h2>[% l('Available copies') %]</h2>
- <ul>
+<!-- <h2>[% l('Available copies') %]</h2> -->
[%- depths = ctx.copy_summary.size;
depth = 0;
displayed_ous = {};
ou_name = cp_org_unit.name;
displayed_ous.$ou_name = 1;
%]
- <li>
[% l('[quant,_1,copy,copies] at [_2].', ou_avail, ou_name) | html %]
[%- this_depth = ctx.get_aou(ou_id).ou_type.depth;
IF ou_avail > 0 && this_depth != ctx.copy_depth %]
title="[% l('Show copies at [_1]', ou_name); %]">
[%- l('(Show)'); %]</a>
[%- END; %]
- </li>
+ <br />
[%- depth = depth + 1;
END;
UNLESS depth < 0 || displayed_ous.exists(ou_name);
%]
[%- IF attrs.plib_copy_counts.$depth.count > 0; %]
- <li class="preferred">[%
+ [%
l('[_1] of [quant,_2,copy,copies] available at [_3].',
attrs.plib_copy_counts.$depth.available,
attrs.plib_copy_counts.$depth.count,
%] <a href="[% mkurl('', {locg => ou_id}, ['copy_offset']); %]"
title="[% l('Show copies at [_1]', ou_name); %]">[%
l('(Show preferred library)');
- %]</a></li>
+ %]</a><br />
[%- END %]
[%- END %]
- </ul>
</span>
END;
-%]
[%- IF has_copies; %]
+<div style="clear:both;">
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="rdetails_status">
<thead>
<tr>
[%- IF has_parts == 'true' %]
<th id='copy_header_part'>[% l("Part") %]</th>
[%- END %]
+ [%- IF ctx.is_staff -%]
<th id='copy_header_barcode'>[% l("Barcode") %]</th>
+ [%- END %]
<th id='copy_header_shelfloc'>[% l("Shelving Location") %]</th>
[%- IF ctx.is_staff %]
<th id='copy_header_age_hold'>[% l("Age Hold Protection") %]</th>
[%- IF has_parts == 'true' %]
<td header='copy_header_part'>[% copy_info.part_label | html %]</td>
[%- END %]
- <td header='copy_header_barcode'>
[%- IF ctx.is_staff -%]
+ <td header='copy_header_barcode'>
<a href="javascript:void(0)" onclick="xulG.new_tab(xulG.urls.XUL_COPY_STATUS, {}, {'from_item_details_new': true, 'barcodes': ['[%- copy_info.barcode | html | replace('\'', '\\\'') -%]']})">[% copy_info.barcode | html %]</a>
- [%- ELSE -%][% copy_info.barcode | html %]
- [%- END -%]</td>
+ </td>[%- END -%]
<td header='copy_header_shelfloc'>[% copy_info.copy_location | html %]</td>
[%- IF ctx.is_staff %]
<td header='copy_header_age_hold'>
[%- END %]
</tbody>
</table>
+</div>
[% END; %]
<div id="rdetail_actions_div">
[% IF !args.ezproxy %]
+ <div class="rdetail_aux_utils" style="margin:0; padding:0 10px;">
+ [%- INCLUDE "opac/parts/record/copy_counts.tt2" %]
+ </div>
+ <div class="rdetail_aux_utils" style="margin:0; padding:0 10px;">
+ [%- l("[quant,_1,hold,holds] with [quant,_2,copy,copies].",
+ ctx.record_hold_count, ctx.copy_summary.0.count) %]
+ </div>
<div class="rdetail_aux_utils">
<a href="[% mkurl(ctx.opac_root _ '/place_hold',
{hold_target => ctx.bre_id, hold_type => 'T', hold_source_page => mkurl()}, stop_parms) %]"
IF ctx.copy_summary.0.count
%]
<div id="copy_hold_counts">
-[%- INCLUDE "opac/parts/record/copy_counts.tt2" %]
<span id="rdetail_hold_counts">
- <h2>[% l('Current holds') %]</h2>
- <p>
- [%- l("[quant,_1,current hold,current holds] with [quant,_2,total copy,total copies].",
- ctx.record_hold_count, ctx.copy_summary.0.count) %]
- </p>
</span>
[%- INCLUDE "opac/parts/record/copy_table.tt2" copies=ctx.copies %]
</div>