Changeset 9217 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 21 Sep 2012, 11:21:05 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9204 r9217 33 33 invalidate_accesscode, get_access_code) 34 34 from waeup.kofa.accesscodes.workflow import USED 35 from waeup.kofa.browser import (35 from waeup.kofa.browser.layout import ( 36 36 KofaPage, KofaEditFormPage, KofaAddFormPage, KofaDisplayFormPage, 37 ContactAdminForm, KofaForm, NullValidator) 37 KofaForm, NullValidator) 38 from waeup.kofa.browser.pages import ContactAdminForm 38 39 from waeup.kofa.browser.breadcrumbs import Breadcrumb 39 40 from waeup.kofa.browser.resources import datepicker, datatable, tabs, warning -
main/waeup.kofa/trunk/src/waeup/kofa/students/catalog.py
r9170 r9217 63 63 self.state = context.state 64 64 self.translated_state = context.translated_state 65 #try: 66 # current_level = course_levels.getTerm( 67 # context['studycourse'].current_level).title 68 #except LookupError: 69 # current_level = None 70 #self.current_level = current_level 71 72 self.current_level = context['studycourse'].current_level 73 65 try: 66 current_level = course_levels.getTerm( 67 context['studycourse'].current_level).title 68 except LookupError: 69 current_level = None 70 self.current_level = current_level 74 71 try: 75 72 current_session = academic_sessions_vocab.getTerm( -
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r9182 r9217 21 21 from zope import schema 22 22 from zc.sourcefactory.contextual import BasicContextualSourceFactory 23 from waeup.kofa.browser.interfaces import IStudentNavigationBase 23 24 from waeup.kofa.interfaces import ( 24 25 IKofaObject, academic_sessions_vocab, validate_email, ICSVExporter) … … 131 132 unique_student_id = Attribute("""A unique student id.""") 132 133 133 class IStudentNavigation(I KofaObject):134 class IStudentNavigation(IStudentNavigationBase): 134 135 """Interface needed for student navigation, logging, etc. 135 136
Note: See TracChangeset for help on using the changeset viewer.