1 <span id="rdetail_copy_counts">
2 <h2>[% l('Available copies') %]</h2>
4 [%- depths = ctx.copy_summary.size;
7 ou_avail = ctx.copy_summary.$depth.available;
8 ou_id = ctx.copy_summary.$depth.org_unit;
11 [% l('[quant,_1,copy,copies] at [_2].', ou_avail, ctx.get_aou(ou_id).name) | html %]
12 [%- this_depth = ctx.get_aou(ou_id).ou_type.depth;
13 IF ou_avail > 0 && this_depth != ctx.copy_depth %]
14 <a href="[% mkurl('', {copy_depth => this_depth}, ['copy_offset']); %]"
15 title="[% l('Show copies at [_1]', ctx.get_aou(ou_id).name); %]">
16 [%- l('(Show)'); %]</a>
19 [%- depth = depth + 1; END %]