]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2
webstaff: add actions to various grids
[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 handler="grid_actions.show_patrons"
29     label="[% l('Retrieve Patron') %]"></eg-grid-action>
30   <eg-grid-action divider="true"></eg-grid-action>
31   <eg-grid-action handler="grid_actions.set_copy_quality"
32     label="[% l('Set Desired Copy Quality') %]"></eg-grid-action>
33   <eg-grid-action handler="grid_actions.edit_pickup_lib"
34     label="[% l('Edit Pickup Library') %]"></eg-grid-action>
35   <eg-grid-action handler="grid_actions.edit_notify_prefs"
36     label="[% l('Edit Notification Settings') %]"></eg-grid-action>
37   <eg-grid-action handler="grid_actions.edit_dates"
38     label="[% l('Edit Hold Dates') %]"></eg-grid-action>
39   <eg-grid-action handler="grid_actions.activate"
40     label="[% l('Activate') %]"></eg-grid-action>
41   <eg-grid-action handler="grid_actions.suspend"
42     label="[% l('Suspend') %]"></eg-grid-action>
43   <eg-grid-action handler="grid_actions.set_top_of_queue"
44     label="[% l('Set Top of Queue') %]"></eg-grid-action>
45   <eg-grid-action handler="grid_actions.clear_top_of_queue"
46     label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
47   <eg-grid-action handler="grid_actions.transfer_to_marked_title"
48     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
49   <eg-grid-action handler="grid_actions.mark_damaged"
50     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
51   <eg-grid-action handler="grid_actions.mark_missing"
52     label="[% l('Mark Item Missing') %]"></eg-grid-action>
53   <eg-grid-action divider="true"></eg-grid-action>
54   <eg-grid-action handler="grid_actions.retarget"
55     label="[% l('Find Another Target') %]"></eg-grid-action>
56   <eg-grid-action handler="grid_actions.cancel_hold"
57     label="[% l('Cancel Hold') %]"></eg-grid-action>
58
59   <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
60   <eg-grid-field label="[% l('Current Copy') %]" 
61     path='hold.current_copy.barcode'>
62     <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
63       {{item.hold.current_copy().barcode()}}
64     </a>
65   </eg-grid-field>
66
67   <eg-grid-field label="[% l('Part') %]" path='part.label'></eg-grid-field>
68   <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time'></eg-grid-field>
69   <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
70   <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
71   <eg-grid-field label="[% l('Copy Location') %]" path='copy.location.name'></eg-grid-field>
72   <eg-grid-field label="[% l('Call Number') %]" path='volume.label'></eg-grid-field>
73
74   <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
75     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.mvr.doc_id()}}">
76       {{item.mvr.title()}}
77     </a>
78   </eg-grid-field>
79
80   <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
81   <eg-grid-field label="[% l('Potential Copies') %]" path='potential_copies'></eg-grid-field>
82   <eg-grid-field label="[% l('Status') %]" path='status_string' hidden></eg-grid-field>
83
84   <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
85   <eg-grid-field path='hold.*' parent-idl-class="ahr" hidden></eg-grid-field>
86   <eg-grid-field path='hold.usr.*' parent-idl-class="ahr" hidden></eg-grid-field>
87   <eg-grid-field path='hold.usr.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
88   <eg-grid-field path='hold.requestor.*' parent-idl-class="ahr" hidden></eg-grid-field>
89   <eg-grid-field path='hold.requestor.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
90   <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
91   <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
92   <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
93 </eg-grid>
94