Changeset 8783 for main/waeup.kofa/trunk/src
- Timestamp:
- 24 Jun 2012, 08:17:57 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r8777 r8783 1091 1091 if not self.reader: 1092 1092 return 1093 header = self.getPreviewHeader()1093 headers = self.getPreviewHeader() 1094 1094 num = 0 1095 1095 data = [] … … 1100 1100 data.append(line) 1101 1101 result = [] 1102 for name in header: 1102 field_num = 0 1103 for name in headers: 1103 1104 result_line = [] 1104 result_line.append(name) 1105 result_line.append(field_num) 1106 field_num += 1 1105 1107 for d in data: 1106 1108 result_line.append(d[name]) -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterimport3page.pt
r8651 r8783 42 42 <tbody> 43 43 <tr tal:repeat="row prev_table"> 44 <td tal:content="python: row[0]"> value44 <td tal:content="python:headers[row[0]]"> value 45 45 </td> 46 46 <td> 47 <select class="span4" name=" python:row[0]">47 <select class="span4" name="headerfield"> 48 48 <option tal:repeat="opt view/getPossibleHeaders" 49 49 tal:attributes="value opt/value; 50 selected python: opt['value']== row[0] and 'selected' or '';"50 selected python: opt['value']==headers[row[0]] and 'selected' or '';" 51 51 tal:content="opt/title"> 52 52 new_header_name
Note: See TracChangeset for help on using the changeset viewer.