]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/cat/item/t_list.tt2
087c4e043a041ea5a28fadf9ca1450710d61d56f
[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 Items') %]"></eg-grid-action>
18   <eg-grid-action handler="checkin"
19     label="[% l('Check In Items') %]"></eg-grid-action>
20   <eg-grid-action handler="renew"
21     label="[% l('Renew Items') %]"></eg-grid-action>
22   <eg-grid-action handler="cancel_transit"
23     label="[% l('Cancel Transit') %]"></eg-grid-action>
24     
25   <eg-grid-action handler="selectedHoldingsItemStatusTgrEvt" group="[% l('Show') %]"
26     label="[% l('Triggered Events') %]"></eg-grid-action>
27   <eg-grid-action handler="selectedHoldingsItemStatusHolds" group="[% l('Show') %]"
28     label="[% l('Item Holds') %]"></eg-grid-action>
29   <eg-grid-action handler="showBibHolds" group="[% l('Show') %]"
30     label="[% l('Record Holds') %]"></eg-grid-action>
31     
32   <eg-grid-action handler="selectedHoldingsDamaged" group="[% l('Mark') %]"
33     label="[% l('Item as Damaged') %]"></eg-grid-action>
34   <eg-grid-action handler="selectedHoldingsMissing" group="[% l('Mark') %]"
35     label="[% l('Item as Missing') %]"></eg-grid-action>
36     
37   <eg-grid-action handler="selectedHoldingsCopyAdd" group="[% l('Add') %]"
38     label="[% l('Items') %]"></eg-grid-action>
39   <eg-grid-action handler="selectedHoldingsVolCopyAdd" group="[% l('Add') %]"
40     label="[% l('Volumes and Items') %]"></eg-grid-action>
41
42   <eg-grid-action handler="selectedHoldingsVolEdit" group="[% l('Edit') %]"
43     label="[% l('Volumes') %]"></eg-grid-action>
44   <eg-grid-action handler="selectedHoldingsCopyEdit" group="[% l('Edit') %]"
45     label="[% l('Items') %]"></eg-grid-action>
46   <eg-grid-action handler="selectedHoldingsVolCopyEdit" group="[% l('Edit') %]"
47     label="[% l('Volumes and Items') %]"></eg-grid-action>
48   <eg-grid-action handler="replaceBarcodes" group="[% l('Edit') %]"
49     label="[% l('Replace Barcodes') %]"></eg-grid-action>
50
51   <eg-grid-action handler="changeItemOwningLib" group="[% l('Transfer') %]"
52     label="[% l('Items to Previously Marked Library') %]"></eg-grid-action>
53   <eg-grid-action handler="transferItems" group="[% l('Transfer') %]"
54     label="[% l('Items to Previously Marked Volume') %]"></eg-grid-action>
55
56   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible></eg-grid-field>
57   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
58   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
59
60   <eg-grid-field label="[% l('Title') %]"       
61     path="call_number.record.simple_record.title" visible>
62     <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
63       {{item['call_number.record.simple_record.title']}} <span ng-show="item['call_number.record.id']" class="glyphicon glyphicon-new-window"/>
64     </a>
65   </eg-grid-field>
66 </eg-grid>
67
68 <div class="flex-row pad-vert">
69   <div class="flex-cell"></div>
70   <div class="pad-horiz">
71     <button class="btn btn-default"
72       ng-click="print_list()">[% l('Print') %]</button>
73   </div>
74 </div>