Changeset 2385 for WAeUP_SRP/base/skins


Ignore:
Timestamp:
18 Oct 2007, 13:43:00 (17 years ago)
Author:
Henrik Bettermann
Message:

include pume/pde statistics

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  
    2020            <table tal:define="info_applicants context/getApplicantsStatistics">
    2121            <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> 
    2424            </tr>
    2525            <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>
    2828            </tr>
    2929            </table>           
  • WAeUP_SRP/base/skins/waeup_student/getApplicantsStatistics.py

    r2148 r2385  
    2222
    2323info = {}
    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')
     27res_submitted_pume = context.applicants_catalog(status = 'submitted', screening_type = 'pume')
     28res_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']
    3133
     34info['submitted_pume'] = len(res_submitted_pume)
     35info['submitted_pde'] = len(res_submitted_pde)
    3236
    3337return info
Note: See TracChangeset for help on using the changeset viewer.