LP#1673857: interface for applying tags from copy buckets
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / bucket / copy / t_view.tt2
1 <eg-grid
2   ng-hide="forbidden"
3   features="allowAll,-display"
4   id-field="id"
5   idl-class="acp"
6   auto-fields="true"
7   grid-controls="gridControls"
8   menu-label="[% l('Buckets') %]"
9   persist-key="cat.bucket.copy.view">
10
11   [% INCLUDE 'staff/cat/bucket/copy/t_grid_menu.tt2' %]
12
13   <eg-grid-action label="[% l('Request Selected Copies') %]" 
14     handler="requestItems"></eg-grid-action>
15   <eg-grid-action label="[% l('Edit Selected Copies') %]" 
16     handler="spawnHoldingsEdit"></eg-grid-action>
17   <eg-grid-action label="[% l('Remove Selected Copies from Bucket') %]" 
18     handler="detachCopies"></eg-grid-action>
19   <eg-grid-action label="[% l('Transfer Selected Copies to Marked Volume') %]" 
20     handler="transferCopies"></eg-grid-action>
21   <eg-grid-action label="[% l('Delete Selected Copies from Catalog') %]" 
22     handler="deleteCopiesFromCatalog"></eg-grid-action>
23   <eg-grid-action label="[% l('Apply Tags') %]" 
24     handler="applyTags"></eg-grid-action>
25
26   <eg-grid-field path="id" required hidden></eg-grid-field>
27   <eg-grid-field path="call_number.record.id" required hidden></eg-grid-field>
28   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible>
29     <a target="_self" href="[% ctx.base_path %]/staff/cat/item/{{item['id']}}">
30       {{item['barcode']}}
31     </a>
32   </eg-grid-field>
33   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
34   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
35
36   <eg-grid-field label="[% l('Title') %]"
37     path="call_number.record.simple_record.title" visible>
38     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
39       {{item['call_number.record.simple_record.title']}}
40     </a>
41   </eg-grid-field>
42
43 </eg-grid>