Changeset 1151 for WAeUP_SRP/trunk/skins
- Timestamp:
- 29 Dec 2006, 22:05:53 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1096 r1151 37 37 students = context.portal_url.getPortalObject().campus.students 38 38 student = getattr(students,str(member)) 39 student_app = getattr(student,'application') 39 if request.has_key('email'): 40 context.waeup_tool.makeStudentData(str(member),email=request.get("email")) 41 student_app = getattr(student,'application',None) 42 if student_app is None: 43 context.waeup_tool.makeStudentData(str(member)) 44 student_app = getattr(student,'application',None) 40 45 student_pume = getattr(student,'pume',None) 41 46 s_review_state = wftool.getInfoFor(student,'review_state',None) -
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit.py
r1060 r1151 71 71 sex = ds.get('sex'), 72 72 ) 73 elif context.portal_type == "Course": 74 context.courses_catalog.modifyRecord(**ds) 73 75 if cpsdocument_edit_and_view_button is not None: 74 76 action = '' -
WAeUP_SRP/trunk/skins/waeup_student/display_session_results.py
r1146 r1151 15 15 16 16 res,psm,ds = lt.renderLayout(layout_id= 'student_session_results_search', 17 schema_id= 'student_ clearance',17 schema_id= 'student_returning', 18 18 context=context, 19 19 mapping=validate and REQUEST, … … 40 40 ) 41 41 elif psm == 'valid': 42 ## context.waeup_tool.makeStudent(ds.get('student'), 43 ## results=ds.get('results')) 42 44 return context.session_results_anon_view(student=ds.get('student'), 43 45 results=ds.get('results')) -
WAeUP_SRP/trunk/skins/waeup_student/display_session_results_form.pt
r1146 r1151 1 1 <tal:block define="rendered_main options/rendered; 2 portal_status_message options/psm; 3 data_storage options/ds; 4 edition python:1;" 2 portal_status_message options/psm; 3 data_storage options/ds; 4 edition python:1;" 5 > 6 <metal:block define-macro="edit_form"> 7 <metal:block use-macro="here/content_lib_master/macros/master"> 8 <metal:block fill-slot="header" 9 tal:define="creation creation|nothing; 10 edition edition|nothing; 11 metadata metadata|nothing" 5 12 > 6 <metal:block define-macro="edit_form"> 7 <metal:block use-macro="here/content_lib_master/macros/master"> 8 <metal:block fill-slot="header" 9 tal:define="creation creation|nothing; 10 edition edition|nothing; 11 metadata metadata|nothing" 12 > 13 </metal:block> 13 </metal:block> 14 14 <metal:block fill-slot="main"> 15 15 <h3>Display Your 2005/2006 Session Results! </h3> -
WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt
r1149 r1151 52 52 </span> 53 53 </table> 54 <a href="" tal:attributes="href string:${context/absolute_url}/set_access_data?matric_no=${student/matric_no}">Continue to Email-entry</a> 54 55 </metal:main> 55 56 </metal:body>
Note: See TracChangeset for help on using the changeset viewer.