Ignore:
Timestamp:
24 Mar 2007, 17:24:00 (18 years ago)
Author:
joachim
Message:

allow create level for onprobation, longer Please wait

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/create_level.py

    r1576 r1635  
    3838if in_progress in ('not started','started'):
    3939    session.set('in_progress','started')
    40     view = context.in_progress_view(refresh=3,page='create_level?in_progress=started')
     40    view = context.in_progress_view(refresh=20,page='create_level?in_progress=started')
    4141    response.setHeader('Content-type','text/html; charset=ISO-8859-15')
    4242    response.setHeader('Content-length','%d' % (len(view)))
     
    9797    query = Eq("path",path) &\
    9898            Eq('portal_type','CertificateCourse') &\
    99             Eq('SearchableText', "%s" % student.level)
     99            Eq('SearchableText', "%s" % current_level)
    100100    courses = aq_portal(query)
    101101    for c in courses:
     
    106106        d['core_or_elective'] = getattr(c.getObject().getContent(),'core_or_elective')
    107107        course_result.getContent().edit(mapping=d)
    108 return
     108
     109return response.redirect("%s/%s" % (context.absolute_url(),current_level))
     110
  • WAeUP_SRP/trunk/skins/waeup_student/getStudyCourseInfo.py

    r1571 r1635  
    5757may_register = (student_review_state in ('school_fee_paid',)) and\
    5858               current_level not in levels and\
    59                (sbrain.verdict in ('A','B') or sbrain.jamb_reg_no.startswith('6'))
     59               (sbrain.verdict in ('A','B','C') or sbrain.jamb_reg_no.startswith('6'))
    6060
    6161levels.sort()
Note: See TracChangeset for help on using the changeset viewer.