Changeset 3318
- Timestamp:
- 11 Mar 2008, 15:39:04 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3316 r3318 172 172 for k in import_keys: 173 173 if k in singels: 174 keys += (k,' DUP_%s' % k,values[i],'duplicate'),174 keys += (k,'%s' % k,values[i],'(duplicate)'), 175 175 msg += ("duplicate %s," % k) 176 keys[singels.index(k)] = (k,' DUP_%s' % k,values[singels.index(k)],'duplicate')176 keys[singels.index(k)] = (k,'%s' % k,values[singels.index(k)],'(duplicate)') 177 177 elif k in invalid_keys and not k.startswith(IGNORE): 178 keys += (k,NO_KEY,values[i],' invalid'),178 keys += (k,NO_KEY,values[i],'(invalid)'), 179 179 else: 180 180 keys += (k,k,values[i],''), -
WAeUP_SRP/base/skins/waeup_upload/uploads_form.pt
r3316 r3318 28 28 tal:attributes="action info/action" 29 29 > 30 <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content" >30 <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content" border=0> 31 31 <tr> 32 32 <th></th> 33 33 <th>Filename</th> 34 34 <th>Data Layout</th> 35 <th> By</th>35 <th>Uploaded By</th> 36 36 <th>Upload Date</th> 37 37 <th>Error Message</th> … … 61 61 <td tal:content="row/msg" ></td> 62 62 </tr> 63 63 64 <tr> 64 <th>Current</th> 65 <th>Possible</th> 66 <th>Value from 1. record</th> 65 <td> </td> 66 <td> </td> 67 <td> </td> 68 <td colspan="3"> </td> 69 </tr> 70 <tr> 71 <th></th> 72 <th>Current Column Heading</th> 73 <th>Possible Field Names</th> 74 <th colspan="3">First Record (Example)</th> 67 75 </tr> 68 76 <tr tal:repeat="key row/fields"> 77 <td /> 69 78 <td colspan="1"> 70 79 <font tal:attributes="color python: test(key[3],'red','black')"> 71 <span tal:content="python: key[ 1]" tal:omit-tag=""/>80 <span tal:content="python: key[0]" tal:omit-tag=""/> 72 81 <span tal:condition="python: key[3]" tal:content="python: key[3]" tal:omit-tag=""/> 73 82 </font> … … 81 90 </select><br /> 82 91 </td> 83 <td colspan=" 1" tal:content="python: key[2]" />92 <td colspan="3" tal:content="python: key[2]" /> 84 93 </tr> 85 94 </span> … … 120 129 <th>Filename</th> 121 130 <th>Data Layout</th> 122 <th> By</th>131 <th>Uploaded By</th> 123 132 <th>Upload Date</th> 124 133 </tr> … … 154 163 (cpsmcat('description_confirm_delete'), )" 155 164 /> 156 <input type="submit" name="goto_edit" value=" Edit again"165 <input type="submit" name="goto_edit" value="Re-edit" 157 166 class="destructive" i18n:attributes="value" 158 167 />
Note: See TracChangeset for help on using the changeset viewer.