]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/conify/global/config/rule_age_hold_protect.tt2
LP#1231634: Mark Floating Groups Config UI strings translatable.
[working/Evergreen.git] / Open-ILS / src / templates / conify / global / config / rule_age_hold_protect.tt2
1 [% WRAPPER base.tt2 %]
2 [% ctx.page_title = l('Age Hold Protect Rules') %]
3 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
4     <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
5         <div>[% l('Age Hold Protect Rules') %]</div>
6         <div>
7             <button dojoType='dijit.form.Button' onClick='ruleAgeProtectGrid.showCreateDialog()'>[% l('New Age Hold Protect Rule') %]</button>
8             <button dojoType='dijit.form.Button' onClick='ruleAgeProtectGrid.deleteSelected()'>[% l('Delete Selected') %]</button>
9         </div>
10     </div>
11     <div>
12     <table  jsId="ruleAgeProtectGrid"
13             dojoType="openils.widget.AutoGrid"
14             fieldOrder="['name', 'age', 'prox']"
15             suppressFields="['id']"
16             query="{id: '*'}"
17             fmClass='crahp'
18             editOnEnter='true'/>
19 </div>
20
21 <script type="text/javascript">
22     dojo.require('openils.Util');
23     dojo.require('openils.widget.AutoGrid');
24     openils.Util.addOnLoad( function() { ruleAgeProtectGrid.loadAll(); } );
25 </script>
26 [% END %]
27
28