]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_list.tt2
c95fb3e806bda1d86e706a83035f84896a6e164f
[Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_hold_shelf_list.tt2
1 <table id='shelf-list-template-table'>
2   <style>
3     #pull-list-template-table td,
4     #pull-list-template-table th {
5       padding: 5px;
6       border: 1px solid #000;
7     }
8   </style>
9   <thead>
10     <tr>
11       <th>[% l('Patron') %]</th>
12       <th>[% l('Type') %]</th>
13       <th>[% l('Title') %]</th>
14       <th>[% l('Author') %]</th>
15       <th>[% l('Call Number') %]</th>
16       <th>[% l('Barcode/Part') %]</th>
17     </tr>
18   </thead>
19   <tbody>
20     <tr ng-repeat="hold_data in holds">
21       <td>
22         <span ng-if="hold_data.patron_alias">{{hold_data.patron_alias}}</span>
23         <span ng-if="!hold_data.patron_alias">
24           [% l('[_1], [_2]',
25             '{{hold_data.patron_last}}',
26             '{{hold_data.patron_first}}') %]
27         </span>
28       </td>
29       </td>
30       <td>{{hold_data.hold.hold_type}}</td>
31       <td>{{hold_data.title}}</td>
32       <td>{{hold_data.author}}</td>
33       <td>{{hold_data.volume.label}}</td>
34       <td>{{hold_data.copy.barcode}} {{hold_data.part.label}}</td>
35     </tr>
36   </tbody>
37 </table>