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