Changeset 3820 for WAeUP_SRP/trunk/skins
- Timestamp:
- 16 Dec 2008, 07:43:06 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/get_csv_names.py
r3167 r3820 2 2 # $Id$ 3 3 """ 4 Return the sessions as an vocabulary5 6 4 """ 7 5 files = context.waeup_tool.get_csv_filenames() -
WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
r3819 r3820 98 98 complete1 = 0 99 99 for r in normal1: 100 if r['grade'] :100 if r['grade'] and r['atl']: 101 101 complete1 += 1 102 102 if len(normal1) == complete1: … … 108 108 complete2 = 0 109 109 for r in normal1: 110 if r['grade'] :110 if r['grade'] and r['atl']: 111 111 complete2 += 1 112 112 if len(normal2) == complete2: … … 118 118 complete3 = 0 119 119 for r in normal1: 120 if r['grade'] :120 if r['grade'] and r['atl']: 121 121 complete3 += 1 122 122 if len(normal3) == complete3: -
WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit.py
r3818 r3820 50 50 lecturer_id = getattr(course,'lecturer',None) 51 51 #set_trace() 52 if str(lecturer_id) != member_id :52 if str(lecturer_id) != member_id and not context.isSectionOfficer(): 53 53 logger.info('%s tried to access course result %s of %s but is not a lecturer of this course' % (member_id,course_id,requested_id)) 54 54 return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.