]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/opac/parts/record/copy_counts.tt2
TPAC: Improve display of holds/copy counts on record details
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / record / copy_counts.tt2
1 <span id="rdetail_copy_counts">
2     <h2>[% l('Available copies') %]</h2>
3     <ul>
4     [%- depths = ctx.copy_summary.size;
5         depth = 0;
6         WHILE depth < depths;
7     %]
8     <li>
9     [% l('[quant,_1,copy,copies] at [_2].', 
10         ctx.copy_summary.$depth.available,
11         ctx.get_aou(ctx.copy_summary.$depth.org_unit).name)
12         | html %]
13     </li>
14     [%- depth = depth + 1; END %]
15     </ul>
16 </span>