Changeset 3820
- Timestamp:
- 16 Dec 2008, 07:43:06 (16 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPImport.py
r3780 r3820 679 679 'wf_transition_graduate': 'close', 680 680 'wf_transition_pay_school_fee': 'close', 681 'wf_transition_validate_courses': 'close', 681 682 'fields': 682 683 ('jamb_reg_no', … … 707 708 'wf_transition_graduate': 'close', 708 709 'wf_transition_pay_school_fee': 'close', 710 'wf_transition_validate_courses': 'close', 709 711 'fields': 710 712 ('matric_no', … … 721 723 'wf_transition_graduate': 'close', 722 724 'wf_transition_pay_school_fee': 'open', 725 'wf_transition_validate_courses': 'open', 723 726 'fields': 724 727 ('firstname', … … 738 741 'wf_transition_graduate': 'close', 739 742 'wf_transition_pay_school_fee': 'open', 743 'wf_transition_validate_courses': 'open', 740 744 'fields': 741 745 ('study_course', … … 764 768 'wf_transition_graduate': 'close', 765 769 'wf_transition_pay_school_fee': 'open', 770 'wf_transition_validate_courses': 'open', 766 771 'fields': 767 772 () … … 802 807 d = {} 803 808 transition = mapping.get('reg_transition','admit') 804 if transition not in ('admit','return','pay_school_fee' ):809 if transition not in ('admit','return','pay_school_fee','validate_courses'): 805 810 msg = "no valid transition provided" 806 811 break … … 896 901 current_level = mapping.get('current_level','') 897 902 transition = mapping.get('reg_transition',None) 898 if transition and transition not in ('admit','return','graduate','pay_school_fee'): 903 # the validate_courses import transition is not really useful because it does not execute validate_courses.py 904 if transition and transition not in ('admit','return','graduate','pay_school_fee','validate_courses'): 899 905 msg = "no valid transition provided" 900 906 break -
WAeUP_SRP/trunk/skins/waeup_default/get_csv_names.py
r3167 r3820 2 2 # $Id$ 3 3 """ 4 Return the sessions as an vocabulary5 6 4 """ 7 5 files = context.waeup_tool.get_csv_filenames() -
WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
r3819 r3820 98 98 complete1 = 0 99 99 for r in normal1: 100 if r['grade'] :100 if r['grade'] and r['atl']: 101 101 complete1 += 1 102 102 if len(normal1) == complete1: … … 108 108 complete2 = 0 109 109 for r in normal1: 110 if r['grade'] :110 if r['grade'] and r['atl']: 111 111 complete2 += 1 112 112 if len(normal2) == complete2: … … 118 118 complete3 = 0 119 119 for r in normal1: 120 if r['grade'] :120 if r['grade'] and r['atl']: 121 121 complete3 += 1 122 122 if len(normal3) == complete3: -
WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit.py
r3818 r3820 50 50 lecturer_id = getattr(course,'lecturer',None) 51 51 #set_trace() 52 if str(lecturer_id) != member_id :52 if str(lecturer_id) != member_id and not context.isSectionOfficer(): 53 53 logger.info('%s tried to access course result %s of %s but is not a lecturer of this course' % (member_id,course_id,requested_id)) 54 54 return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.