- Timestamp:
- 11 Oct 2006, 07:54:06 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_academics
- Files:
-
- 6 added
- 6 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py
r615 r653 24 24 if context.isManager() or context.isStudent(): 25 25 if context.portal_type == 'AcademicsFolder': 26 return context.academics.academics_ index_view()26 return context.academics.academics_view() 27 27 elif context.portal_type == 'Faculty': 28 return context.faculty_ index_view()28 return context.faculty_view() 29 29 elif context.portal_type == 'Department': 30 return context.department_ index_view()30 return context.department_view() 31 31 elif context.portal_type == 'CoursesFolder': 32 return context.courses_ index_view()32 return context.courses_view() 33 33 elif context.portal_type == 'Certificate': 34 return context.certificate_ index_view()34 return context.certificate_view() 35 35 elif context.portal_type == 'StudyLevel': 36 return context.level_ index_view()36 return context.level_view() 37 37 elif context.portal_type in ('CertificateCourse','Course'): 38 38 return context.academics_document_view() -
WAeUP_SRP/trunk/skins/waeup_academics/getCoursesCertificatesInfo.py
r603 r653 20 20 info['is_manager'] = context.isManager() 21 21 info['is_student'] = context.isStudent() 22 info['action'] = "%s/faculty_ index_view" % context.absolute_url()22 info['action'] = "%s/faculty_view" % context.absolute_url() 23 23 info['choosen_ids'] = request.get('ids',[]) 24 24 info['doc'] = context.getContent()
Note: See TracChangeset for help on using the changeset viewer.