]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_list.tt2
webstaff: add more comments to print templates
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_hold_shelf_list.tt2
1 <!--
2 Template for printing a list of items on the hold shelf. Fields include:
3
4 * holds - list of hold requests, including
5
6   * patron_alias
7   * patron_last
8   * patron_first
9   * hold.hold_type
10   * title
11   * author
12   * volume.label
13   * copy.barcode
14
15 -->
16 <table id='shelf-list-template-table'>
17   <style>
18     #pull-list-template-table td,
19     #pull-list-template-table th {
20       padding: 5px;
21       border: 1px solid #000;
22     }
23   </style>
24   <thead>
25     <tr>
26       <th>[% l('Patron') %]</th>
27       <th>[% l('Type') %]</th>
28       <th>[% l('Title') %]</th>
29       <th>[% l('Author') %]</th>
30       <th>[% l('Call Number') %]</th>
31       <th>[% l('Barcode/Part') %]</th>
32     </tr>
33   </thead>
34   <tbody>
35     <tr ng-repeat="hold_data in holds">
36       <td>
37         <span ng-if="hold_data.patron_alias">{{hold_data.patron_alias}}</span>
38         <span ng-if="!hold_data.patron_alias">
39           [% l('[_1], [_2]',
40             '{{hold_data.patron_last}}',
41             '{{hold_data.patron_first}}') %]
42         </span>
43       </td>
44       </td>
45       <td>{{hold_data.hold.hold_type}}</td>
46       <td>{{hold_data.title}}</td>
47       <td>{{hold_data.author}}</td>
48       <td>{{hold_data.volume.label}}</td>
49       <td>{{hold_data.copy.barcode}} {{hold_data.part.label}}</td>
50     </tr>
51   </tbody>
52 </table>