Changeset 1635 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 24 Mar 2007, 17:24:00 (18 years ago)
- 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 38 38 if in_progress in ('not started','started'): 39 39 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') 41 41 response.setHeader('Content-type','text/html; charset=ISO-8859-15') 42 42 response.setHeader('Content-length','%d' % (len(view))) … … 97 97 query = Eq("path",path) &\ 98 98 Eq('portal_type','CertificateCourse') &\ 99 Eq('SearchableText', "%s" % student.level)99 Eq('SearchableText', "%s" % current_level) 100 100 courses = aq_portal(query) 101 101 for c in courses: … … 106 106 d['core_or_elective'] = getattr(c.getObject().getContent(),'core_or_elective') 107 107 course_result.getContent().edit(mapping=d) 108 return 108 109 return response.redirect("%s/%s" % (context.absolute_url(),current_level)) 110 -
WAeUP_SRP/trunk/skins/waeup_student/getStudyCourseInfo.py
r1571 r1635 57 57 may_register = (student_review_state in ('school_fee_paid',)) and\ 58 58 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')) 60 60 61 61 levels.sort()
Note: See TracChangeset for help on using the changeset viewer.