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