2 Template for printing a list of holds associated with a
3 bib record. Fields include:
5 * holds - list of holds, including
9 * patron_last - patron surname
10 * patron_alias - hold alias for the patorn
15 <div>[% l('Holds for record: [_1]', '{{holds[0].title}}') %]</div>
17 <style>#holds-for-bib-table td { padding: 5px; }</style>
18 <table id="holds-for-bib-table">
21 <th>[% l('Request Date') %]</th>
22 <th>[% l('Patron Barcode') %]</th>
23 <th>[% l('Patron Last') %]</th>
24 <th>[% l('Patron Alias') %]</th>
25 <th>[% l('Current Copy') %]</th>
29 <tr ng-repeat="hold in holds">
30 <td>{{hold.hold.request_time | date:'short'}}</td>
31 <td>{{hold.patron_barcode}}</td>
32 <td>{{hold.patron_last}}</td>
33 <td>{{hold.patron_alias}}</td>
34 <td>{{hold.copy.barcode}}</td>
39 <div>{{current_location.shortname}} {{today | date:'short'}}</div>
40 <div>[% l('Printed by [_1]', '{{staff.first_given_name}}') %]</div>