Show copy status/location names in Vandelay items grid
[working/Evergreen.git] / Open-ILS / web / templates / default / vandelay / inc / import_errors.tt2
1
2 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
3     <button dojoType='dijit.form.Button' 
4         onclick="displayGlobalDiv('vl-queue-div');">&#x2196; &vandelay.back.to.import.queue;</button>
5 </div>
6
7 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
8     <div id='vl-import-error-record' class='hidden'>
9         <h1>Import Errors</h1><br/>
10         <table>
11             <tbody>
12                 <tr><td>ID</td><td id='vl-error-id'/></tr>
13                 <tr><td>Import Error</td><td id='vl-error-import-error'/></tr>
14                 <tr><td>Error Detail</td><td id='vl-error-error-detail'/></tr>
15                 <tr><td>Title</td><td id='vl-error-title'/></tr>
16                 <tr><td>Author</td><td id='vl-error-author'/></tr>
17                 <tr><td>ISBN</td><td id='vl-error-isbn'/></tr>
18                 <tr><td>ISSN</td><td id='vl-error-issn'/></tr>
19                 <tr><td>UPC</td><td id='vl-error-upc'/></tr>
20             </tbody>
21         </table>
22     </div>
23 </div>
24
25 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
26     <div class='hidden' id='vl-import-error-grid-some'>
27         <table  jsId="vlImportErrorGrid"
28                 dojoType="openils.widget.AutoGrid"
29                 autoHeight='true'
30                 fieldOrder="['barcode', 'call_number', 'owning_lib', 'import_error', 'error_detail']"
31                 query="{id: '*'}"
32                 hidePaginator='true'
33                 showColumnPicker='true'
34                 columnPickerPrefix='"vandelay.item.import_error"'
35                 fmClass='vii'>
36                 <thead>
37                     <tr>
38                         <th field='owning_lib' get='vlGetOrg'/>
39                         <th field='circ_lib' get='vlGetOrg'/>
40                         <th field='status' get='vlCopyStatus'/>
41                         <th field='location' get='vlCopyLocation'/>
42                     </tr>
43                 </thead>
44         </table>
45     </div>
46 </div>
47 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
48     <div class='hidden' id='vl-import-error-grid-all'>
49         <h1>Import Items</h1><br/>
50         <input dojoType='dijit.form.CheckBox' jsId='vlImportItemsShowErrors' onchange='vlLoadErrorUIAll();'/>
51         <span>Limit to Import Failures</span>
52         <table width='100%'><tr><td width='100%' align='right'>
53             <select id='vl-item-export-options' style='margin-right: 10px;'>
54                 <!-- TODO I18N -->
55                 <option value=''>Export Items As...</option>
56                 <option value='print'>Print</option>
57                 <option value='csv'>CSV</option>
58                 <option value='email'>Email</option>
59             </select>
60         </td></tr></table>
61         <table  jsId="vlAllImportErrorGrid"
62                 dojoType="openils.widget.AutoGrid"
63                 autoHeight='true'
64                 fieldOrder="['barcode', 'call_number', 'owning_lib', 'import_error', 'error_detail']"
65                 query="{id: '*'}"
66                 showPaginator='true'
67                 showColumnPicker='true'
68                 columnPickerPrefix='"vandelay.item.import_error"'
69                 fmClass='vii'>
70                 <thead>
71                     <tr>
72                         <th field='owning_lib' get='vlGetOrg'/>
73                         <th field='circ_lib' get='vlGetOrg'/>
74                         <th field='status' get='vlCopyStatus'/>
75                         <th field='location' get='vlCopyLocation'/>
76                     </tr>
77                 </thead>
78         </table>
79     </div>
80 </div>
81