]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/conify/global/config/circ_limit_set.tt2
I18N: Make everything in tt2 files translatable.
[working/Evergreen.git] / Open-ILS / src / templates / conify / global / config / circ_limit_set.tt2
1 [% ctx.page_title = l('Circulation Limit Set') %]
2 [% WRAPPER base.tt2 %]
3 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/circ_limit_set.js'> </script>
4 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
5     <div>[% l('Circulation Limit Set') %]</div>
6     <div>
7         <button dojoType='dijit.form.Button' onClick='clsGrid.showCreatePane()'>[% l('New') %]</button>
8         <button dojoType='dijit.form.Button' onClick='clsGrid.deleteSelected()'>[% l('Delete Selected') %]</button>
9     </div>
10 </div>
11 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
12     <table  jsId="clsGrid"
13             style="height: 600px;"
14             dojoType="openils.widget.AutoGrid"
15             fieldOrder="['id', 'owning_lib', 'name', 'items_out', 'depth', 'global', 'description']"
16             defaultCellWidth='"auto"'
17             query="{id: '*'}"
18             fmClass='ccls'
19             editStyle='pane'
20             editOnEnter='true'
21             showColumnPicker='true'
22             columnPersistKey='"conify.config.circ_limit_set"'>
23     </table>
24 </div>
25
26 <div class='hidden'>
27     <div id='linked-editor' style='border:1px solid #aaa'>
28         <h3>[% l('Linked Circ Modifiers') %]</h3>
29         <table class='oils-generic-table'>
30             <tbody>
31                 <tr>
32                     <th>[% l('Name') %]</th>
33                     <th>[% l('Remove') %]</th>
34                 </tr>
35             </tbody>
36             <tbody name='circ-mod-entry-tbody'>
37                 <tr name='circ-mod-entry-row'>
38                     <td name='circ-mod'></td>
39                     <td><a name='remove-circ-mod' href='javascript:void(0);'>[% l('Remove') %]</a></td>
40                 </tr>
41             </tbody>
42             <tbody name='circ-mod-entry-new'>
43                 <tr>
44                     <td><div name='circ-mod-selector'></div></td>
45                     <td><a href='javascript:void(0);' name='add-circ-mod'>[% l('Add') %]</a></td>
46                 </tr>
47             </tbody>
48         </table>
49         <h3>[% l('Linked Copy Locations') %]</h3>
50         <table class='oils-generic-table'>
51             <tbody>
52                 <tr>
53                     <th>[% l('Name') %]</th>
54                     <th>[% l('Remove') %]</th>
55                 </tr>
56             </tbody>
57             <tbody name='copy-loc-entry-tbody'>
58                 <tr name='copy-loc-entry-row'>
59                     <td name='copy-loc'></td>
60                     <td><a name='remove-copy-loc' href='javascript:void(0);'>[% l('Remove') %]</a></td>
61                 </tr>
62             </tbody>
63             <tbody name='copy-loc-entry-new'>
64                 <tr>
65                     <td><div name='copy-loc-selector'></div></td>
66                     <td><a href='javascript:void(0);' name='add-copy-loc'>[% l('Add') %]</a></td>
67                 </tr>
68             </tbody>
69         </table>
70         <h3>[% l('Linked Limit Groups') %]</h3>
71         <table class='oils-generic-table'>
72             <tbody>
73                 <tr>
74                     <th>[% l('Name') %]</th>
75                     <th>[% l('Check Only?') %]</th>
76                     <th>[% l('Remove') %]</th>
77                 </tr>
78             </tbody>
79             <tbody name='limit-group-entry-tbody'>
80                 <tr name='limit-group-entry-row'>
81                     <td name='limit-group'></td>
82                     <td><input type="checkbox" name="limit-group-check-only"/></td>
83                     <td><a name='remove-limit-group' href='javascript:void(0);'>[% l('Remove') %]</a></td>
84                 </tr>
85             </tbody>
86             <tbody name='limit-group-entry-new'>
87                 <tr>
88                     <td><div name='limit-group-selector'></div></td>
89                     <td><a href='javascript:void(0);' name='add-limit-group'>[% l('Add') %]</a></td>
90                     <td></td>
91                 </tr>
92             </tbody>
93         </table>
94     </div>
95 </div>
96
97 <div class='hidden'><div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div></div>
98 [% END %]
99