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