Changeset 8601
- Timestamp:
- 2 Jun 2012, 11:25:33 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantcontainerstatistics.pt
r8591 r8601 21 21 <tr> 22 22 <th i18n:translate="" width="40%">Faculty</th> 23 <th > </th>23 <th i18n:translate="">Number of Submissions</th> 24 24 </tr> 25 25 </thead> -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/container.py
r8591 r8601 104 104 fac_stats = dict([(i,0) for i in faculty_keys]) 105 105 for key in self.keys(): 106 state_stats[self[key].state] += 1 106 state = self[key].state 107 state_stats[state] += 1 107 108 cert = getattr(self[key],'course1',None) 108 if cert is not None :109 if cert is not None and state == SUBMITTED: 109 110 faculty = cert.__parent__.__parent__.__parent__ 110 111 fac_stats[faculty.__name__] += 1
Note: See TracChangeset for help on using the changeset viewer.