2 Template for printing a list of items on the hold shelf. Fields include:
4 * holds - list of hold requests, including
17 * hold.shelf_expire_time
20 <table id='shelf-list-template-table'>
22 #pull-list-template-table td,
23 #pull-list-template-table th {
25 border: 1px solid #000;
30 <th>[% l('Patron') %]</th>
31 <th>[% l('Type') %]</th>
32 <th>[% l('Title') %]</th>
33 <th>[% l('Author') %]</th>
34 <th>[% l('Call Number') %]</th>
35 <th>[% l('Barcode/Part') %]</th>
36 <th>[% l('Status') %]</th>
37 <th>[% l('Shelf Expire Time') %]</th>
41 <tr ng-repeat="hold_data in holds">
43 <span ng-if="hold_data.patron_alias">{{hold_data.patron_alias}}</span>
44 <span ng-if="!hold_data.patron_alias">
46 '{{hold_data.patron_last}}',
47 '{{hold_data.patron_first}}') %]
51 <td>{{hold_data.hold.hold_type}}</td>
52 <td>{{hold_data.title}}</td>
53 <td>{{hold_data.author}}</td>
54 <td>{{hold_data.volume.label}}</td>
55 <td>{{hold_data.copy.barcode}} {{hold_data.part.label}}</td>
56 <td>{{hold_data.status_string}}</td>
57 <td>{{hold_data.hold.shelf_expire_time | date:'yyyy-MM-dd HH:mm:ss'}}</td>