Changeset 2385 for WAeUP_SRP/base/skins
- Timestamp:
- 18 Oct 2007, 13:43:00 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/apply_admission_manage_form.pt
r2310 r2385 20 20 <table tal:define="info_applicants context/getApplicantsStatistics"> 21 21 <tr> 22 <td> Number of records viewed:</td>23 <td><span tal:replace="info_applicants/ pin_entered" /></td>22 <td>PUME Screening Applications:</td> 23 <td><span tal:replace="info_applicants/submitted_pume" /></td> 24 24 </tr> 25 25 <tr> 26 <td> Number of records submitted:</td>27 <td><span tal:replace="info_applicants/submitted " /></td>26 <td>PUDE Screening Applications:</td> 27 <td><span tal:replace="info_applicants/submitted_pde" /></td> 28 28 </tr> 29 29 </table> -
WAeUP_SRP/base/skins/waeup_student/getApplicantsStatistics.py
r2148 r2385 22 22 23 23 info = {} 24 res_entered = context.applicants_catalog(status = 'entered') 25 res_edited = context.applicants_catalog(status = 'edited') 26 res_submitted = context.applicants_catalog(status = 'submitted') 27 info['entered'] = len(res_entered) 28 info['edited'] = len(res_edited) 29 info['submitted'] = len(res_submitted) 30 info['pin_entered'] = info['entered'] + info['submitted'] + info['edited'] 24 #res_entered = context.applicants_catalog(status = 'entered') 25 #res_edited = context.applicants_catalog(status = 'edited') 26 #res_submitted = context.applicants_catalog(status = 'submitted') 27 res_submitted_pume = context.applicants_catalog(status = 'submitted', screening_type = 'pume') 28 res_submitted_pde = context.applicants_catalog(status = 'submitted', screening_type = 'pde') 29 #info['entered'] = len(res_entered) 30 #info['edited'] = len(res_edited) 31 #info['submitted'] = len(res_submitted) 32 #info['pin_entered'] = info['entered'] + info['submitted'] + info['edited'] 31 33 34 info['submitted_pume'] = len(res_submitted_pume) 35 info['submitted_pde'] = len(res_submitted_pde) 32 36 33 37 return info
Note: See TracChangeset for help on using the changeset viewer.