- Timestamp:
- 15 Jul 2012, 01:31:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/browser/layout.py
r8736 r9003 36 36 from waeup.kofa.interfaces import MessageFactory as _ 37 37 from waeup.kofa.utils.helpers import to_timezone 38 from waeup.kofa.browser.interfaces import ITheme 38 from waeup.kofa.browser.interfaces import ( 39 ITheme, IStudentNavigationBase, IApplicantBase) 39 40 from waeup.kofa.browser.theming import get_all_themes, KofaThemeBase 40 from waeup.kofa.students.interfaces import IStudentNavigation41 from waeup.kofa.applicants.interfaces import IApplicant42 41 from waeup.kofa.authentication import get_principal_role_manager 43 42 … … 281 280 """Return the student name. 282 281 """ 283 if IStudentNavigation .providedBy(self.context):282 if IStudentNavigationBase.providedBy(self.context): 284 283 return self.context.student.display_fullname 285 284 return … … 288 287 """Return the applicant name. 289 288 """ 290 if IApplicant.providedBy(self.context): 289 if IApplicantBase.providedBy(self.context): 290 # XXX: shouldn't that be `display_fullname???` 291 291 return self.context.fullname 292 292 return
Note: See TracChangeset for help on using the changeset viewer.