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