Changeset 3343 for WAeUP_SRP


Ignore:
Timestamp:
16 Mar 2008, 21:33:36 (17 years ago)
Author:
Henrik Bettermann
Message:

add statistics for sandwich applicants

Location:
WAeUP_SRP/uniben/waeup_custom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/uniben/waeup_custom/apply_admission_manage_form.pt

    r2847 r3343  
    3131              <td>CEST Applicants (status submitted):</td>
    3232              <td><span tal:replace="info_applicants/submitted_cest" /></td>
    33             </tr>           
     33            </tr>       
     34            <tr>
     35              <td>Sandwich Applicants (status submitted):</td>
     36              <td><span tal:replace="info_applicants/submitted_sandwich" /></td>
     37            </tr>                   
    3438            <tr>
    3539              <td>All Applicants (status admitted):</td>
  • WAeUP_SRP/uniben/waeup_custom/getApplicantsStatistics.py

    r2847 r3343  
    2424res_submitted_pume = context.applicants_catalog(status = 'submitted', screening_type = 'pume')
    2525res_submitted_cest = context.applicants_catalog(status = 'submitted', screening_type = 'cest')
     26res_submitted_sandwich = context.applicants_catalog(status = 'submitted', screening_type = 'sandwich')
    2627res_not_admitted = context.applicants_catalog(status = 'not admitted')
    2728res_submitted_pde = context.applicants_catalog(status = 'submitted', screening_type = 'pde')
     
    3132info['submitted_pume'] = len(res_submitted_pume)
    3233info['submitted_cest'] = len(res_submitted_cest)
     34info['submitted_sandwich'] = len(res_submitted_sandwich)
    3335info['admitted'] = len(res_admitted)
    3436info['not_admitted'] = len(res_not_admitted)
Note: See TracChangeset for help on using the changeset viewer.