]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/cat/bucket/record/t_view.tt2
webstaff: implement Merge Selected Records from record bucket
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / bucket / record / t_view.tt2
1 <eg-grid
2   ng-hide="forbidden"
3   id-field="id"
4   idl-class="rmsr"
5   auto-fields="true"
6   grid-controls="gridControls"
7   menu-label="[% l('Buckets') %]"
8   persist-key="cat.bucket.record.view">
9
10   [% INCLUDE 'staff/cat/bucket/record/t_grid_menu.tt2' %]
11
12   <!-- actions drop-down -->
13   <eg-grid-action label="[% l('Show All in Catalog') %]"
14     handler="showAllRecords"></eg-grid-action>
15
16   <eg-grid-action label="[% l('Remove Selected Records') %]" 
17     handler="detachRecords"></eg-grid-action>
18
19   <eg-grid-action label="[% l('Delete Selected Records from Catalog') %]" 
20     handler="deleteRecordsFromCatalog"></eg-grid-action>
21
22   <eg-grid-action label="[% l('Merge Selected Records') %]" 
23     handler="openRecordMergeDialog"></eg-grid-action>
24
25   <eg-grid-action label="[% l('Export Records') %]" 
26     handler="openExportBucketDialog"></eg-grid-action>
27
28   <eg-grid-field path="id" required hidden></eg-grid-field>
29
30   <eg-grid-field label="[% l('Title') %]" path="title">
31     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
32       {{item.title}}
33     </a>
34   </eg-grid-field>
35
36
37 </eg-grid>