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