LP#1621412: Fix typo in acq li_attr.tt2
[working/Evergreen.git] / Open-ILS / src / templates / acq / settings / li_attr.tt2
1 [% WRAPPER base.tt2 %]
2
3 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
4     <div dojoType="dijit.form.DropDownButton">
5         <span>[% l('Lineitem Attribute Attribute') %]</span>
6         <div dojoType="dijit.TooltipDialog" execute="createOrderRecordField(arguments[0]);">
7             <script type='dojo/connect' event='onOpen'>//setORDesc();</script>
8             <table class='dijitTooltipTable'>
9                 <tr>
10                     <td><label for="code">[% l('Code:') %]</label></td>
11                     <td><input dojoType='dijit.form.TextBox' name='code'/></td>
12                 </tr>
13                 <tr>
14                     <td><label for="description">[% l('Description: ') %]</label></td>
15                     <td><input id='oils-acq-provider-or-desc' dojoType="dijit.form.TextBox" name="description"> </input></td>
16                 </tr>
17                 <tr>
18                     <td><label for="amount">[% l('Tag: ') %]</label></td>
19                     <td><input dojoType="dijit.form.TextBox" name="tag"></input></td>
20                 </tr>
21                 <tr>
22                     <td><label for="amount">[% l('Subfield: ') %]</label></td>
23                     <td><input dojoType="dijit.form.TextBox" name="subfield"></input></td>
24                 </tr>
25                 <tr>
26                     <td><label for="ident">[% l('Identifier Field?: ') %]</label></td>
27                     <td>
28                         <select dojoType="dijit.form.FilteringSelect" name="ident">
29                             <option value='f' selected='selected'>[% l('False') %]</option>
30                             <option value='t'>[% l('True') %]</option>
31                         </select>
32                     </td>
33                 </tr>
34                 <tr>
35                     <td><label for="amount">[% l('XPath (advanced): ') %]</label></td>
36                     <td><input dojoType="dijit.form.TextBox" name="xpath"></input></td>
37                 </tr>
38                 <tr>
39                     <td colspan='2' align='center'>
40                         <button dojoType=dijit.form.Button type="submit">[% l('Apply') %]</button>
41                     </td>
42                 </tr>
43             </table>
44         </div>
45     </div>
46     <script type="text/javascript">
47         var liAttrGridLayout = [{
48             cells : [[
49                 {name: '[% l('ID') %]', field: 'id'},
50                 {name: '[% l('Code') %]', field:'code', width:'auto'},
51                 {name: '[% l('Description') %]', field: "description", width:'auto'}, 
52                 {name: '[% l('Tag') %]', get:getTag},
53                 {name: '[% l('Subfield') %]', get:getSubfield},
54                 {name: '[% l('Identifier') %]', field:'ident'},
55                 {name: '[% l('XPath') %]', field:'xpath', width:'auto'}
56             ]]
57         }];
58     </script>
59     <div dojoType="dijit.layout.TabContainer">
60         <div dojoType="dijit.layout.ContentPane" 
61                 class='oils-acq-detail-content-pane' title="[% l('MARC Attributes') %]" style='height:600px;'>
62             <script type='dojo/connect' event='onShow'>loadMarcAttrGrid();</script>
63             <div jsId='liMarcAttrGrid' dojoType="dojox.Grid" structure='liAttrGridLayout'> </div>
64         </div>
65         <div dojoType="dijit.layout.ContentPane" 
66                 class='oils-acq-detail-content-pane' title="[% l('Generated Attributes') %]" style='height:600px;'>
67             <script type='dojo/connect' event='onShow'>loadGeneratedAttrGrid();</script>
68             <div jsId='liGeneratedAttrGrid' dojoType="dojox.Grid" structure='liAttrGridLayout'> </div>
69         </div>
70     </div>
71 </div>
72
73 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/settings/li_attr.js'></script>
74 [% END %]