]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2
LP#1646210 Add CN Affixes to Grids WIP
[Evergreen.git] / Open-ILS / src / templates / staff / circ / holds / t_shelf_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   grid-controls="gridControls"
10   persist-key="circ.holds.shelf"
11   dateformat="{{$root.egDateAndTimeFormat}}">
12
13   <eg-grid-menu-item handler="detail_view" 
14     label="[% l('Detail View') %]"></eg-grid-menu-item>
15
16   <eg-grid-menu-item handler="show_clearable" 
17     hidden="clear_mode" disabled="is_clearing"
18     label="[% l('Show Clearable Holds') %]"></eg-grid-menu-item>
19
20   <eg-grid-menu-item handler="show_active" 
21     hidden="active_mode" disabled="is_clearing"
22     label="[% l('Show All Holds') %]"></eg-grid-menu-item>
23
24   <eg-grid-menu-item handler="clear_holds" disabled="disable_clear"
25     label="[% l('Clear These Holds') %]"></eg-grid-menu-item>
26
27   <eg-grid-menu-item handler="print_shelf_list"
28     label="[% l('Print Full List') %]"></eg-grid-menu-item>
29
30   <eg-grid-action handler="grid_actions.show_recent_circs"
31     label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
32   <eg-grid-action handler="grid_actions.show_patrons"
33     label="[% l('Retrieve Patron') %]"></eg-grid-action>
34   <eg-grid-action divider="true"></eg-grid-action>
35   <eg-grid-action handler="grid_actions.set_copy_quality"
36     label="[% l('Set Desired Copy Quality') %]"></eg-grid-action>
37   <eg-grid-action handler="grid_actions.edit_pickup_lib"
38     label="[% l('Edit Pickup Library') %]"></eg-grid-action>
39   <eg-grid-action handler="grid_actions.edit_notify_prefs"
40     label="[% l('Edit Notification Settings') %]"></eg-grid-action>
41   <eg-grid-action handler="grid_actions.edit_dates"
42     label="[% l('Edit Hold Dates') %]"></eg-grid-action>
43   <eg-grid-action handler="grid_actions.activate"
44     label="[% l('Activate') %]"></eg-grid-action>
45   <eg-grid-action handler="grid_actions.suspend"
46     label="[% l('Suspend') %]"></eg-grid-action>
47   <eg-grid-action handler="grid_actions.set_top_of_queue"
48     label="[% l('Set Top of Queue') %]"></eg-grid-action>
49   <eg-grid-action handler="grid_actions.clear_top_of_queue"
50     label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
51   <eg-grid-action handler="grid_actions.transfer_to_marked_title"
52     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
53   <eg-grid-action handler="grid_actions.mark_damaged"
54     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
55   <eg-grid-action handler="grid_actions.mark_missing"
56     label="[% l('Mark Item Missing') %]"></eg-grid-action>
57   <eg-grid-action divider="true"></eg-grid-action>
58   <eg-grid-action handler="grid_actions.retarget"
59     label="[% l('Find Another Target') %]"></eg-grid-action>
60   <eg-grid-action handler="grid_actions.cancel_hold"
61     label="[% l('Cancel Hold') %]"></eg-grid-action>
62   <eg-grid-action handler="grid_actions.uncancel_hold"
63     label="[% l('Uncancel Hold') %]"></eg-grid-action>
64
65   <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
66   <eg-grid-field label="[% l('Current Copy') %]" 
67     path='hold.current_copy.barcode'>
68     <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
69       {{item.hold.current_copy().barcode()}}
70     </a>
71   </eg-grid-field>
72
73   <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time' datatype="timestamp"></eg-grid-field>
74   <eg-grid-field label="[% l('Capture Date') %]" path='hold.capture_time' datatype="timestamp"></eg-grid-field>
75   <eg-grid-field label="[% l('Available Date') %]" path='hold.shelf_time' datatype="timestamp"></eg-grid-field>
76   <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
77   <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
78   <eg-grid-field label="[% l('Post-Clear') %]" path='post_clear'></eg-grid-field>
79
80   <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
81     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.mvr.doc_id()}}">
82       {{item.mvr.title()}}
83     </a>
84   </eg-grid-field>
85
86   <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
87   <eg-grid-field label="[% l('Potential Copies') %]" path='potential_copies'></eg-grid-field>
88   <eg-grid-field label="[% l('Status') %]" path='status_string'></eg-grid-field>
89
90   <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
91   <eg-grid-field path='hold.usr.*' parent-idl-class="ahr" hidden></eg-grid-field>
92   <eg-grid-field path='hold.requestor.*' parent-idl-class="ahr" hidden></eg-grid-field>
93   <eg-grid-field label="[% l('Copy Status') %]" path="hold.current_copy.status.name" hidden>
94   </eg-grid-field>
95   <eg-grid-field path='hold.*' parent-idl-class="ahr" hidden></eg-grid-field>
96   <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
97   <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
98   <eg-grid-field path='volume.prefix.label' label="[% l('CN Prefix') %]" parent-idl-class="acn" hidden></eg-grid-field>
99   <eg-grid-field path='volume.suffix.label' label="[% l('CN Suffix') %]" parent-idl-class="acn" hidden></eg-grid-field>
100   <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
101 </eg-grid>
102