Changeset 1196 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 4 Jan 2007, 10:30:39 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentStatistics.py
r1190 r1196 10 10 # $Id$ 11 11 """ 12 return Student Statistic 12 return Student Statistics 13 13 """ 14 14 import logging … … 21 21 except: 22 22 evalAdvancedQuery = None 23 logger.info('"%s","invoked Statistic"' % context.portal_membership.getAuthenticatedMember())23 logger.info('"%s","invoked statistics"' % context.portal_membership.getAuthenticatedMember()) 24 24 l = [] 25 25 if not context.isStaff(): … … 73 73 dep['clearance_requested_percent'] = (cr*100/total) 74 74 cav = len([s for s in fac_ids if s in cav_ids]) 75 dep['cleared_and_validated'] = cav 75 dep['cleared_and_validated'] = cav 76 76 dep['cleared_and_validated_percent'] = 0 77 77 if total:
Note: See TracChangeset for help on using the changeset viewer.