]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2
LP#1402797 Remove Uncancel Hold action where not useful
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / holds / t_pull_list.tt2
1 <div ng-if="print_list_progress !== null" class="strong-text-2">
2   [% l('Loading... [_1]', '{{print_list_progress}}') %]
3 </div>
4
5 <eg-grid
6   id-field="id"
7   features="-sort,-multisort"
8   items-provider="gridDataProvider"
9   persist-key="circ.holds.pull">
10
11   <eg-grid-menu-item handler="detail_view" 
12     label="[% l('Detail View') %]"></eg-grid-menu-item>
13
14   <eg-grid-menu-item handler="print_full_list" 
15     label="[% l('Print Full List') %]"></eg-grid-menu-item>
16
17   <!--
18   The Alternate print UI appears to be generated in a very similar
19   fashion to our native full list printer.  Also, since it's 
20   generated from a separate standalone HTML page, the print
21   action bypasses Hatch and goes straight to the browser printer.
22   <eg-grid-menu-item handler="print_list_alt" 
23     label="[% l('Print Full List (Alt)') %]"></eg-grid-menu-item>
24   -->
25
26   <eg-grid-action handler="grid_actions.show_recent_circs"
27     label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
28   <eg-grid-action divider="true"></eg-grid-action>
29   <eg-grid-action handler="grid_actions.set_copy_quality"
30     label="[% l('Set Desired Copy Quality') %]"></eg-grid-action>
31   <eg-grid-action handler="grid_actions.edit_pickup_lib"
32     label="[% l('Edit Pickup Library') %]"></eg-grid-action>
33   <eg-grid-action handler="grid_actions.edit_notify_prefs"
34     label="[% l('Edit Notification Settings') %]"></eg-grid-action>
35   <eg-grid-action handler="grid_actions.edit_dates"
36     label="[% l('Edit Hold Dates') %]"></eg-grid-action>
37   <eg-grid-action handler="grid_actions.activate"
38     label="[% l('Activate') %]"></eg-grid-action>
39   <eg-grid-action handler="grid_actions.suspend"
40     label="[% l('Suspend') %]"></eg-grid-action>
41   <eg-grid-action handler="grid_actions.set_top_of_queue"
42     label="[% l('Set Top of Queue') %]"></eg-grid-action>
43   <eg-grid-action handler="grid_actions.clear_top_of_queue"
44     label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
45   <eg-grid-action handler="grid_actions.transfer_to_marked_title"
46     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
47   <eg-grid-action handler="grid_actions.mark_damaged"
48     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
49   <eg-grid-action handler="grid_actions.mark_missing"
50     label="[% l('Mark Item Missing') %]"></eg-grid-action>
51   <eg-grid-action divider="true"></eg-grid-action>
52   <eg-grid-action handler="grid_actions.retarget"
53     label="[% l('Find Another Target') %]"></eg-grid-action>
54   <eg-grid-action handler="grid_actions.cancel_hold"
55     label="[% l('Cancel Hold') %]"></eg-grid-action>
56
57   <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
58   <eg-grid-field label="[% l('Current Copy') %]" 
59     path='hold.current_copy.barcode'>
60     <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
61       {{item.hold.current_copy().barcode()}}
62     </a>
63   </eg-grid-field>
64
65   <eg-grid-field label="[% l('Part') %]" path='part.label'></eg-grid-field>
66   <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time'></eg-grid-field>
67   <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
68   <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
69   <eg-grid-field label="[% l('Copy Location') %]" path='copy.location.name'></eg-grid-field>
70   <eg-grid-field label="[% l('Call Number') %]" path='volume.label'></eg-grid-field>
71
72   <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
73     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.mvr.doc_id()}}">
74       {{item.mvr.title()}}
75     </a>
76   </eg-grid-field>
77
78   <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
79   <eg-grid-field label="[% l('Potential Copies') %]" path='potential_copies'></eg-grid-field>
80   <eg-grid-field label="[% l('Status') %]" path='status_string' hidden></eg-grid-field>
81
82   <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
83   <eg-grid-field path='hold.*' parent-idl-class="ahr" hidden></eg-grid-field>
84   <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
85   <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
86   <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
87 </eg-grid>
88