Changeset 9707
- Timestamp:
- 22 Nov 2012, 20:28:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r9705 r9707 209 209 login_button = label 210 210 211 def _comment(self, student): 212 return getattr(student, 'suspended_comment', None) 213 211 214 def update(self, SUBMIT=None, camefrom=None): 212 215 self.camefrom = camefrom … … 259 262 return 260 263 # Now we know that the student is suspended. 261 comment = getattr(student, 'suspended_comment', None)264 comment = self._comment(student) 262 265 if comment: 263 266 self.flash(comment) … … 886 889 label = _(u'Upload portal data as CSV file') 887 890 pnav = 0 888 max_files = 10891 max_files = 20 889 892 upload_button =_(u'Upload') 890 893 cancel_button =_(u'Cancel')
Note: See TracChangeset for help on using the changeset viewer.