]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/cat/catalog/t_holdings.tt2
webstaff: Add actions for editing just copy attributes or vol/copy details
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / catalog / t_holdings.tt2
1
2 <div>
3   <div class="row">
4     <div class="col-md-3">
5       <div class="input-group">
6         <span class="input-group-addon">[% l('Show holdings at or below') %]</span>
7         <eg-org-selector selected="holdings_ou" onchange="holdings_ou_changed"></eg-org-selector>
8       </div>
9     </div>
10   </div>
11
12   <div class="pad-vert"></div>
13
14   <eg-grid
15     id-field="index"
16     features="-display,-sort,-multisort"
17     items-provider="holdingsGridDataProvider"
18     grid-controls="holdingsGridControls"
19     persist-key="cat.holdings">
20
21      <eg-grid-menu-item handler="holdings_checkbox_handler"
22       label="[% l('Show empty volumes') %]"
23       checkbox="holdings_show_empty"
24       checked="holdings_show_empty"/>
25  
26     <eg-grid-menu-item handler="holdings_checkbox_handler"
27       label="[% l('Show copy detail') %]"
28       checkbox="holdings_show_copies"
29       checked="holdings_show_copies"/>
30
31     <eg-grid-menu-item handler="holdings_checkbox_handler"
32       label="[% l('Show volume detail') %]"
33       checkbox="holdings_show_vols"
34       checked="holdings_show_vols"/>
35
36     <eg-grid-action handler="selectedHoldingsItemStatus" group="[% l('Show') %]"
37       label="[% l('Item Status (list)') %]"></eg-grid-action>
38     <eg-grid-action handler="selectedHoldingsItemStatusDetail" group="[% l('Show') %]"
39       label="[% l('Item Status (detail)') %]"></eg-grid-action>
40     <eg-grid-action handler="selectedHoldingsItemStatusTgrEvt" group="[% l('Show') %]"
41       label="[% l('Triggered Events') %]"></eg-grid-action>
42     <eg-grid-action handler="selectedHoldingsItemStatusHolds" group="[% l('Show') %]"
43       label="[% l('Item Holds') %]"></eg-grid-action>
44     <eg-grid-action handler="selectedHoldingsDamaged" group="[% l('Mark') %]"
45       label="[% l('Item as Damaged') %]"></eg-grid-action>
46     <eg-grid-action handler="selectedHoldingsMissing" group="[% l('Mark') %]"
47       label="[% l('Item as Missing') %]"></eg-grid-action>
48     <eg-grid-action handler="selectedHoldingsVolEdit" group="[% l('Edit') %]"
49       label="[% l('Selected Volumes') %]"></eg-grid-action>
50     <eg-grid-action handler="selectedHoldingsCopyEdit" group="[% l('Edit') %]"
51       label="[% l('Selected Copies') %]"></eg-grid-action>
52     <eg-grid-action handler="selectedHoldingsVolCopyEdit" group="[% l('Edit') %]"
53       label="[% l('Selected Volumes and Copies') %]"></eg-grid-action>
54
55     <eg-grid-field label="[% l('Owning Library') %]"  path="owner_label" flex="4" align="right" visible></eg-grid-field>
56     <eg-grid-field label="[% l('Call Number') %]"     path="call_number.label" visible></eg-grid-field>
57     <eg-grid-field label="[% l('Location') %]"        path="location.name" visible></eg-grid-field>
58     <eg-grid-field label="[% l('Copy #') %]"          path="copy_number" flex="1" visible></eg-grid-field>
59     <eg-grid-field label="[% l('Barcode') %]"         path="barcode" visible></eg-grid-field>
60     <eg-grid-field label="[% l('Status') %]"          path="status.name" flex="1" visible></eg-grid-field>
61   
62   </eg-grid>
63 </div>
64