]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/acq/lineitem_alert.tt2
UI for managing Line Item Alert Text for Acquisitions (acqliat)
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / lineitem_alert.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/lineitem_alert.js'> </script>
3
4 <!-- grid -->
5
6  <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
7         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
8             <div>Line Item Alert Text</div>
9             <div>
10                 <button dojoType='dijit.form.Button' onClick='alertGrid.showCreateDialog()'>New Line Item Alert Text</button>
11                 <button dojoType='dijit.form.Button' onClick='alertGrid.deleteSelected()'>Delete Selected</button>
12             </div>
13         </div>
14         <div>
15             <span>Context Org Unit</span>
16             <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='alertContextOrgSelect'
17                 searchAttr='shortname' labelAttr='shortname'> </select>
18         </div>
19         <table  jsId="alertGrid"
20                 dojoType="openils.widget.AutoGrid"
21                 fieldOrder="['id', 'code', 'description', 'owning_lib']"
22                 query="{id: '*'}"
23                 defaultCellWidth='20'
24                 fmClass='acqliat'
25                 editOnEnter='true'>
26         </table>
27     </div>
28 </div>
29 [% END %]
30
31