Changeset 8481
- Timestamp:
- 21 May 2012, 09:28:46 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/departmentpage.pt
r7811 r8481 30 30 </tbody> 31 31 </table> 32 <br /><br />33 32 </div> 34 33 <div id="tab-2"> -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r8472 r8481 1834 1834 1835 1835 @action(_('Register course list'), style='primary') 1836 def RegisterCourses(self, **data):1836 def registerCourses(self, **data): 1837 1837 IWorkflowInfo(self.context.getStudent()).fireTransition( 1838 1838 'register_courses') -
main/waeup.kofa/trunk/src/waeup/kofa/students/student.py
r8472 r8481 55 55 # The site doesn't exist in unit tests 56 56 try: 57 students = grok.getSite()['students'] 58 self.student_id = generate_student_id(students,'?') 57 self.student_id = generate_student_id() 59 58 except TypeError: 60 59 self.student_id = u'Z654321' -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r8472 r8481 95 95 return tag1 + u'%s</font>' % text 96 96 97 def generate_student_id( students, letter='?'):97 def generate_student_id(): 98 98 students = grok.getSite()['students'] 99 99 new_id = students.unique_student_id
Note: See TracChangeset for help on using the changeset viewer.