]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/cat/item/t_list.tt2
LP#1570091: webstaff: adding item status actions
[Evergreen.git] / Open-ILS / src / templates / staff / cat / item / t_list.tt2
1 <eg-grid
2   id-field="index"
3   idl-class="acp"
4   features="-display,-sort,-multisort"
5   main-label="[% l('Item Status') %]"
6   items-provider="gridDataProvider"
7   grid-controls="gridControls"
8   persist-key="cat.items">
9
10   <eg-grid-action handler="add_copies_to_bucket"
11     label="[% l('Add Items to Bucket') %]"></eg-grid-action>
12   <eg-grid-action handler="requestItems"
13     label="[% l('Request Items') %]"></eg-grid-action>
14   <eg-grid-action handler="attach_to_peer_bib"
15     label="[% l('Link as Conjoined to Previously Marked Bib Record') %]"></eg-grid-action>
16   <eg-grid-action handler="selectedHoldingsCopyDelete"
17     label="[% l('Delete Copies') %]"></eg-grid-action>
18   <eg-grid-action handler="checkin"
19     label="[% l('Check In Copies') %]"></eg-grid-action>
20   <eg-grid-action handler="renew"
21     label="[% l('Renew Copies') %]"></eg-grid-action>
22     
23   <eg-grid-action handler="selectedHoldingsItemStatusTgrEvt" group="[% l('Show') %]"
24     label="[% l('Triggered Events') %]"></eg-grid-action>
25   <eg-grid-action handler="selectedHoldingsItemStatusHolds" group="[% l('Show') %]"
26     label="[% l('Item Holds') %]"></eg-grid-action>
27   <eg-grid-action handler="showBibHolds" group="[% l('Show') %]"
28     label="[% l('Record Holds') %]"></eg-grid-action>
29     
30   <eg-grid-action handler="selectedHoldingsDamaged" group="[% l('Mark') %]"
31     label="[% l('Item as Damaged') %]"></eg-grid-action>
32   <eg-grid-action handler="selectedHoldingsMissing" group="[% l('Mark') %]"
33     label="[% l('Item as Missing') %]"></eg-grid-action>
34     
35   <eg-grid-action handler="selectedHoldingsCopyAdd" group="[% l('Add') %]"
36     label="[% l('Copies') %]"></eg-grid-action>
37   <eg-grid-action handler="selectedHoldingsVolCopyAdd" group="[% l('Add') %]"
38     label="[% l('Volumes and Copies') %]"></eg-grid-action>
39
40   <eg-grid-action handler="selectedHoldingsVolEdit" group="[% l('Edit') %]"
41     label="[% l('Volumes') %]"></eg-grid-action>
42   <eg-grid-action handler="selectedHoldingsCopyEdit" group="[% l('Edit') %]"
43     label="[% l('Copies') %]"></eg-grid-action>
44   <eg-grid-action handler="selectedHoldingsVolCopyEdit" group="[% l('Edit') %]"
45     label="[% l('Volumes and Copies') %]"></eg-grid-action>
46   <eg-grid-action handler="replaceBarcodes" group="[% l('Edit') %]"
47     label="[% l('Replace Barcodes') %]"></eg-grid-action>
48
49   <eg-grid-action handler="changeItemOwningLib" group="[% l('Transfer') %]"
50     label="[% l('Items to Previously Marked Library') %]"></eg-grid-action>
51   <eg-grid-action handler="transferItems" group="[% l('Transfer') %]"
52     label="[% l('Items to Previously Marked Volume') %]"></eg-grid-action>
53
54   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible></eg-grid-field>
55   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
56   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
57
58   <eg-grid-field label="[% l('Title') %]"       
59     path="call_number.record.simple_record.title" visible>
60     <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
61       {{item['call_number.record.simple_record.title']}} <span ng-show="item['call_number.record.id']" class="glyphicon glyphicon-new-window"/>
62     </a>
63   </eg-grid-field>
64 </eg-grid>
65