]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2
LP#1350042 Browser client templates/scripts (phase 1)
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / holds / t_shelf_list.tt2
1
2 <eg-grid
3   id-field="id"
4   features="-sort,-multisort"
5   items-provider="gridDataProvider"
6   grid-controls="gridControls"
7   persist-key="circ.holds.shelf">
8
9   <eg-grid-menu-item handler="detail_view" 
10     label="[% l('Detail View') %]"></eg-grid-menu-item>
11
12   <eg-grid-menu-item handler="show_clearable" 
13     hidden="clear_mode" disabled="is_clearing"
14     label="[% l('Show Clearable Holds') %]"></eg-grid-menu-item>
15
16   <eg-grid-menu-item handler="show_active" 
17     hidden="active_mode" disabled="is_clearing"
18     label="[% l('Show All Holds') %]"></eg-grid-menu-item>
19
20   <eg-grid-menu-item handler="clear_holds" disabled="disable_clear"
21     label="[% l('Clear These Holds') %]"></eg-grid-menu-item>
22
23   <eg-grid-action handler="grid_actions.show_recent_circs"
24     label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
25   <eg-grid-action divider="true"></eg-grid-action>
26   <eg-grid-action handler="grid_actions.set_copy_quality"
27     label="[% l('Set Desired Copy Quality') %]"></eg-grid-action>
28   <eg-grid-action handler="grid_actions.edit_pickup_lib"
29     label="[% l('Edit Pickup Library') %]"></eg-grid-action>
30   <eg-grid-action handler="grid_actions.edit_notify_prefs"
31     label="[% l('Edit Notification Settings') %]"></eg-grid-action>
32   <eg-grid-action handler="grid_actions.edit_dates"
33     label="[% l('Edit Hold Dates') %]"></eg-grid-action>
34   <eg-grid-action handler="grid_actions.activate"
35     label="[% l('Activate') %]"></eg-grid-action>
36   <eg-grid-action handler="grid_actions.suspend"
37     label="[% l('Suspend') %]"></eg-grid-action>
38   <eg-grid-action handler="grid_actions.set_top_of_queue"
39     label="[% l('Set Top of Queue') %]"></eg-grid-action>
40   <eg-grid-action handler="grid_actions.clear_top_of_queue"
41     label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
42   <eg-grid-action handler="grid_actions.transfer_to_marked_title"
43     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
44   <eg-grid-action handler="grid_actions.mark_damaged"
45     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
46   <eg-grid-action handler="grid_actions.mark_missing"
47     label="[% l('Mark Item Missing') %]"></eg-grid-action>
48   <eg-grid-action divider="true"></eg-grid-action>
49   <eg-grid-action handler="grid_actions.retarget"
50     label="[% l('Find Another Target') %]"></eg-grid-action>
51   <eg-grid-action handler="grid_actions.cancel_hold"
52     label="[% l('Cancel Hold') %]"></eg-grid-action>
53
54   <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
55   <eg-grid-field label="[% l('Current Copy') %]" 
56     path='hold.current_copy.barcode'>
57     <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
58       {{item.hold.current_copy().barcode()}}
59     </a>
60   </eg-grid-field>
61
62   <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time'></eg-grid-field>
63   <eg-grid-field label="[% l('Capture Date') %]" path='hold.capture_time'></eg-grid-field>
64   <eg-grid-field label="[% l('Available Date') %]" path='hold.shelf_time'></eg-grid-field>
65   <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
66   <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
67   <eg-grid-field label="[% l('Post-Clear') %]" path='post_clear'></eg-grid-field>
68
69   <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
70     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.mvr.doc_id()}}">
71       {{item.mvr.title()}}
72     </a>
73   </eg-grid-field>
74
75   <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
76   <eg-grid-field label="[% l('Potential Copies') %]" path='potential_copies'></eg-grid-field>
77   <eg-grid-field label="[% l('Status') %]" path='status_string'></eg-grid-field>
78
79   <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
80   <eg-grid-field path='hold.*' parent-idl-class="ahr" hidden></eg-grid-field>
81   <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
82   <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
83   <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
84 </eg-grid>
85