]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/default/conify/global/acq/lineitem_marc_attr_def.tt2
Merge branch 'master' of git.evergreen-ils.org:Evergreen into template-toolkit-opac...
[working/Evergreen.git] / Open-ILS / src / templates / default / conify / global / acq / lineitem_marc_attr_def.tt2
1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = 'Line Item MARC Attributes' %]
3 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/lineitem_marc_attr_def.js'> </script>
4
5 <!-- grid -->
6
7  <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
8         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
9             <div>Line Item MARC Attribute Definition Editor</div>
10             <div>
11                 <button dojoType='dijit.form.Button' onClick='attrGrid.showCreateDialog()'>New Attribute</button>
12                 <button dojoType='dijit.form.Button' onClick='attrGrid.deleteSelected()'>Delete Selected</button>
13             </div>
14         </div>
15         <table  jsId="attrGrid"
16                 dojoType="openils.widget.AutoGrid"
17                 fieldOrder="['id', 'code', 'description', 'tag', 'subfield', 'ident', 'remove', 'xpath']"
18                 query="{id: '*'}"
19                 defaultCellWidth='"auto"'
20                 fmClass='acqlimad'
21                 editOnEnter='true'>
22             <thead>
23                 <tr>
24                     <th field='tag' get='attrGridGetTag'>Tag</th>
25                     <th field='subfield' get='attrGridGetSubfield'>Subfield</th>
26                 </tr>
27             </thead>
28         </table>
29     </div>
30 </div>
31 [% END %]
32
33