]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2
Fixup ctx.page_title and script type declarations
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / claim_type.tt2
1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = 'Claim Types' %]
3
4 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/conify/global/acq/claim_grid.js"></script>
5 <script type="text/javascript">
6 openils.Util.addOnLoad(
7     function() {
8         prepareOwnerSelector("ADMIN_ACQ_CLAIM_TYPE");
9         populateGrid();
10     }
11 );
12 </script>
13 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
14     <div dojoType="dijit.layout.ContentPane"
15          layoutAlign="top" class="oils-header-panel">
16         <div>Claim Types</div>
17         <div>
18             <button onclick="grid.showCreateDialog()">New Claim Type</button>
19             <button onclick="grid.deleteSelected()">Delete Selected</button>
20         </div>
21     </div>
22     <div class="oils-acq-basic-roomy">
23         <span>Show claim types available to</span>
24         <select
25             dojoType="openils.widget.OrgUnitFilteringSelect"
26             jsId="ownerSelect" searchAttr="shortname"
27             labelAttr="shortname">
28         </select>
29     </div>
30     <table jsId="grid"
31         dojoType="openils.widget.AutoGrid"
32         fieldOrder="['code', 'org_unit', 'description']"
33         suppressFields="['id']"
34         query="{id: '*'}"
35         defaultCellWidth="20"
36         fmClass="acqclt"
37         showPaginator="true"
38         editOnEnter="true">
39     </table>
40 </div>
41 [% END %]