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)
13 [%- IF ou_avail > 0 && ou_id != ctx.search_ou; %]
14 <a href="[% mkurl('', {loc => ou_id}); %]"
15 title="[% l('Show copies at [_1]', ctx.get_aou(ou_id).name); %]">
16 [%- l('(Show)'); %]</a>
19 [%- depth = depth + 1; END %]