]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2
Merge remote branch 'working/user/dbs/lp801624_blow_away_postgresql'
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / asset / copy_template.tt2
1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = "Copy Templates" %]
3 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/conify/global/asset/copy_template.js"> </script>
4 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
5     <div dojoType="dijit.layout.ContentPane"
6          layoutAlign="top" class="oils-header-panel">
7         <div>Copy Templates</div>
8         <div>
9             <button dojoType="dijit.form.Button"
10                 onClick="actGrid.showCreatePane()">New Copy Template</button>
11             <button dojoType="dijit.form.Button"
12                 onClick="actGrid.deleteSelected()">Delete Selected</button>
13         </div>
14     </div>
15     <div class="oils-acq-basic-roomy">
16         <span>Show templates available at or above</span>
17         <select
18             dojoType="openils.widget.OrgUnitFilteringSelect"
19             jsId="actOwnerSelect"
20             searchAttr="shortname" labelAttr="shortname">
21         </select>
22     </div>
23     <table jsId="actGrid"
24         dojoType="openils.widget.AutoGrid"
25         fieldOrder="['name','owning_lib','circulate','holdable','opac_visible','loan_duration','fine_level','location','circ_modifier','floating','deposit','ref','mint_condition']"
26         suppressFields="['creator','editor','edit_date','create_date','circ_lib']"
27         suppressEditFields="['creator','editor','edit_date','create_date','circ_lib']"
28         query="{id: '*'}"
29         editStyle="pane"
30         fmClass="act"
31         autoHeight="true"
32         createPaneOnSubmit="create_or_update_act"
33         editPaneOnSubmit="create_or_update_act"
34         editOnEnter="true">
35     </table>
36     <div class="hidden">
37         <!-- these FilteringSelects will be attached manually to actGrid -->
38         <select required="false" dojoType="dijit.form.FilteringSelect"
39             jsId="special_fine_level">
40             <option value="1">Low</option>
41             <option value="2">Normal</option>
42             <option value="3">High</option>
43         </select>
44         <select required="false" dojoType="dijit.form.FilteringSelect"
45             jsId="special_loan_duration">
46             <option value="1">Short</option>
47             <option value="2">Normal</option>
48             <option value="3">Long</option>
49         </select>
50     </div>
51 </div>
52 [% END %]