]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2
LP#1704873 webstaff: label printing
[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('Remove Selected Copies from Bucket') %]" group="[% l('Bucket') %]"
14     handler="detachCopies"></eg-grid-action>
15   <eg-grid-action label="[% l('Request Selected Copies') %]" group="[% l('Items') %]"
16     handler="requestItems"></eg-grid-action>
17   <eg-grid-action label="[% l('Edit Selected Copies') %]" group="[% l('Items') %]"
18     handler="spawnHoldingsEdit"></eg-grid-action>
19   <eg-grid-action handler="print_labels" group="[% l('Show') %]"
20     label="[% l('Print Labels') %]"></eg-grid-action>
21   <eg-grid-action label="[% l('Transfer Selected Copies to Marked Volume') %]" group="[% l('Items') %]"
22     handler="transferCopies"></eg-grid-action>
23   <eg-grid-action label="[% l('Delete Selected Copies from Catalog') %]" group="[% l('Items') %]"
24     handler="deleteCopiesFromCatalog"></eg-grid-action>
25   <eg-grid-action label="[% l('Apply Tags') %]" 
26     handler="applyTags"></eg-grid-action>
27
28   <eg-grid-field path="id" required hidden></eg-grid-field>
29   <eg-grid-field path="call_number.record.id" required hidden></eg-grid-field>
30   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible>
31     <a target="_self" href="[% ctx.base_path %]/staff/cat/item/{{item['id']}}">
32       {{item['barcode']}}
33     </a>
34   </eg-grid-field>
35   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
36   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
37
38   <eg-grid-field label="[% l('Title') %]"
39     path="call_number.record.simple_record.title" visible>
40     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
41       {{item['call_number.record.simple_record.title']}}
42     </a>
43   </eg-grid-field>
44
45 </eg-grid>