Changeset 770 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 29 Oct 2006, 05:24:04 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/application_view.pt
r680 r770 9 9 10 10 <div style="text-align: right" 11 tal:condition="python:review_state =='admission_applied'">11 tal:condition="python:review_state in ('admission_applied', 'clearance_pin_entered',)"> 12 12 <a href="" target="slip" tal:attributes="href string:application_slip" 13 13 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.pt
r769 r770 16 16 <metal:block fill-slot="header"> 17 17 <h3> 18 <tal:block condition="python: edition and not metadata" 19 i18n:translate="">Edit <span id="page_title" i18n:name="title" 20 tal:content="here/title_or_id">Page Title</span></tal:block> 18 Edit your Clearance Data! 21 19 </h3> 22 20 </metal:block> -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r768 r770 68 68 else: 69 69 info['clear'] = None 70 70 71 71 res = context.portal_catalog(container_path=student_path, 72 72 portal_type='StudentPume') … … 77 77 info['pume_review_state'] = wf.getInfoFor(pume,'review_state',None) 78 78 else: 79 info['pume'] = None 79 info['pume'] = None 80 80 81 81 items = [] 82 s_edit_links = {'StudentApplication': ' student_edit',82 s_edit_links = {'StudentApplication': 'application_edit', 83 83 'StudentAccommodation': '', 84 84 'StudentClearance': 'clearance_edit', 85 85 'StudentPersonal': '', 86 86 } 87 s_view_links = {'StudentApplication': None,87 s_view_links = {'StudentApplication': 'application_view', 88 88 'StudentAccommodation': 'accommodation_view', 89 89 'StudentClearance': 'clearance_view', 90 90 'StudentPersonal': None, 91 'StudentApplication': 'application_view',92 91 'StudentStudyCourse': 'study_course_view', 93 92 'StudentPume': 'pume_view', … … 110 109 row['s_edit_link'] = "%s/%s" % (soo.absolute_url(),se_link) 111 110 row['review_state'] = so.review_state 112 row['display'] = so.review_state in ('opened','closed', ) or\111 row['display'] = so.review_state in ('opened','closed','public',) or\ 113 112 so.portal_type in ("StudentAccommodation","StudentStudyCourse") 114 113 items.append(row) -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_view.pt
r613 r770 8 8 'app_ac_pin', 9 9 'app_ac_date', 10 'app_email', 11 'app_mobile', 10 12 'jamb_lastname', 11 13 'jamb_sex', -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_info.pt
r669 r770 5 5 dm options/datastructure/getDataModel; 6 6 widgets python:context.getRenderedWidgets(layout); 7 fields python:('jamb_lastname','jamb_sex', )"7 fields python:('jamb_lastname','jamb_sex','app_email','app_mobile')" 8 8 > 9 9 -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_slip.pt
r712 r770 8 8 'app_ac_pin', 9 9 'app_ac_date', 10 'app_email', 11 'app_mobile', 10 12 'jamb_lastname', 11 13 'jamb_sex', -
WAeUP_SRP/trunk/skins/waeup_student/student_edit.py
r767 r770 41 41 layout_mode = 'edit', 42 42 use_session=True) 43 action = "/ passport_entry_view"43 action = "/application_edit" 44 44 if is_valid: 45 45 if app_doc.passport is not None: … … 58 58 layout_mode = 'edit', 59 59 use_session=True) 60 action = "/ passport_entry_view"60 action = "/application_edit" 61 61 if is_valid: 62 62 args = {} … … 82 82 app_doc = info['app_doc'] 83 83 dc = {} 84 dc['email'] = app_doc.appl_email 85 dc['mobil'] = app_doc.appl_mobile 84 dc['email'] = app_doc.app_email 86 85 info['clear_doc'].edit(mapping = dc) 87 86 wftool.doActionFor(app,'close',dest_container= app) 88 87 psm = 'You successfully started the clearance process.' 89 action = "/clearance_ view"88 action = "/clearance_edit" 90 89 else: 91 90 action = "/clearance_view" -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r767 r770 33 33 return redirect("%s/application_view" % student.absolute_url()) 34 34 elif state in ('application_pin_entered','admitted'): 35 return redirect("%s/ passport_entry_view" % student.absolute_url())35 return redirect("%s/application_edit" % student.absolute_url()) 36 36 elif state == 'clearance_pin_entered': 37 37 return redirect("%s/student_view" % info['clear'].absolute_url())
Note: See TracChangeset for help on using the changeset viewer.