- Timestamp:
- 12/23/09 06:06:58 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
enpraxis.educommons/trunk/enpraxis/educommons/browser/coursestopic.py
r506 r632 51 51 full_title = self.ecutil.getFullCourseTitle(brain) 52 52 return full_title 53 54 def getSchoolInfo(self): 55 """ Return URL and title for a School """ 56 if self.context.aq_inner.aq_parent.portal_type == 'School': 57 return self.context.aq_inner.aq_parent 53 58 54 59 … … 117 122 def isOpenOCW(self): 118 123 return IOpenOCWSite.providedBy(self.context.portal_url.getPortalObject()) 119 124 125 class SchoolPageView(BrowserView): 126 """ A default school page view """ 127 128 __call__ = ViewPageTemplateFile('templates/school_view.pt') 129 120 130 121 131 class CoursePageView(BrowserView):
