]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/cat/bucket/record/t_view.tt2
LP#1402797 implement Show All in Catalog action for record buckets
[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('Export Records') %]" 
20     handler="openExportBucketDialog"></eg-grid-action>
21
22   <eg-grid-field path="id" required hidden></eg-grid-field>
23
24   <eg-grid-field label="[% l('Title') %]" path="title">
25     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
26       {{item.title}}
27     </a>
28   </eg-grid-field>
29
30
31 </eg-grid>