Changeset 765 for WAeUP_SRP/trunk
- Timestamp:
- 27 Oct 2006, 11:34:06 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r764 r765 243 243 'days': "Days", 244 244 'response': "Responce", 245 'right': "Right",246 245 'wrong': "Wrong", 247 246 'pume_eng_score': "EngScore", … … 338 337 ) 339 338 for f in dp_fields: 340 d a[f] = jamb.get(csv_d[f])341 pume = student. application342 pume.getContent().edit(mapping=d a)339 dp[f] = jamb.get(csv_d[f]) 340 pume = student.pume 341 pume.getContent().edit(mapping=dp) 343 342 wftool.doActionFor(pume,'close',dest_container=app) 344 343 pume.manage_setLocalRoles(sid, ['Owner',]) -
WAeUP_SRP/trunk/__init__.py
r760 r765 50 50 "StudentPersonal", 51 51 "StudentStudyLevel", 52 #"StudentSemester",53 52 #"Semester", 54 53 "StudentCourseResult", -
WAeUP_SRP/trunk/profiles/default/workflows.xml
r742 r765 74 74 <bound-workflow workflow_id="waeup_student_subobject_wf"/> 75 75 </type> 76 <type type_id="StudentPume"> 77 <bound-workflow workflow_id="waeup_student_subobject_wf"/> 78 </type> 76 79 <type type_id="StudentStudyCourse"> 77 80 <bound-workflow workflow_id="waeup_student_subobject_wf"/> -
WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py
r755 r765 17 17 except: 18 18 evalAdvancedQuery = None 19 20 def cmp_id(a,b): 21 if a.getId() > b.getId(): 22 return 1 23 return -1 19 24 20 25 request = context.REQUEST … … 147 152 items.append(a) 148 153 students = [] 154 items.sort(cmp_id) 149 155 if items: 150 156 for item in items: -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r742 r765 34 34 elif state == 'application_pin_entered': 35 35 return redirect("%s/passport_entry_view" % student.absolute_url()) 36 elif context.portal_type == 'StudentStudyLevel': 37 return context.study_level_student_view() 36 38 return redirect("%s/student_view" % student.absolute_url()) 37 39
Note: See TracChangeset for help on using the changeset viewer.