Changeset 6166 for main/waeup.sirp/trunk/src
- Timestamp:
- 20 May 2011, 12:05:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6165 r6166 525 525 row = row.items() 526 526 # Sort fields in headerfield order 527 row = sorted(row, key=lambda k: self.reader.fieldnames.index(k[0])) 527 row = sorted(row, 528 key=lambda k: self.reader.fieldnames.index(k[0])) 528 529 row = [x[1] for x in row] 529 530 result.append(row) … … 611 612 row = row.items() 612 613 # Sort fields in headerfield order 613 row = sorted(row, key=lambda k: self.reader.fieldnames.index(k[0])) 614 row = sorted(row, 615 key=lambda k: self.reader.fieldnames.index(k[0])) 614 616 row = [x[1] for x in row] 615 617 result.append(row) … … 1139 1141 taboneactions = ['Save','Cancel'] 1140 1142 tabtwoactions = ['Add course', 'Remove selected courses','Cancel'] 1141 tabthreeactions = ['Add certificate', 'Remove selected certificates', 'Cancel'] 1143 tabthreeactions = ['Add certificate', 'Remove selected certificates', 1144 'Cancel'] 1142 1145 tabfouractions1 = ['Remove selected local roles'] 1143 1146 tabfouractions2 = ['Add local role'] … … 1427 1430 grok.template('certificatemanagepage') 1428 1431 taboneactions = ['Save','Cancel'] 1429 tabtwoactions = ['Add course referrer', 'Remove selected course referrers','Cancel'] 1432 tabtwoactions = ['Add course referrer', 1433 'Remove selected course referrers','Cancel'] 1430 1434 1431 1435 @property
Note: See TracChangeset for help on using the changeset viewer.