- Timestamp:
- 16 Mar 2020, 09:15:27 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r15987 r16041 676 676 677 677 def render(self): 678 if not self.context.student.current_mode: 679 self.flash('No certificate assigned.', type="danger") 680 self.redirect(self.url(self.context)) 681 return 678 682 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 679 683 Sem = translate(_('Sem.'), target_language=portal_language) … … 697 701 for i in range(1,7): 698 702 tabledata.append(sorted( 699 [value for value in self.context.values() if value.semester == i], 700 key=lambda value: str(value.semester) + value.code)) 703 [value for value in self.context.values() 704 if value.semester == i and not value.outstanding], 705 key=lambda value: str(value.semester) + value.code)) 701 706 if self.show_results: 702 707 tableheader.append([(Code,'code', 2.0),
Note: See TracChangeset for help on using the changeset viewer.