Changeset 770 for WAeUP_SRP/trunk/skins
- Timestamp:
- 29 Oct 2006, 05:24:04 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 added
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r767 r770 87 87 member.setProperties(last_login_time=current,login_time=current) 88 88 if info['review_state'] == "application_pin_entered": 89 return response.redirect("%s/passport_entry_view" % student.absolute_url()) 89 return response.redirect("%s/application_edit" % student.absolute_url()) 90 elif info['review_state'] == "clearance_pin_entered": 91 return response.redirect("%s/clearance_edit" % student.absolute_url()) 90 92 return response.redirect("%s/student_index" % info['url']) 91 93 -
WAeUP_SRP/trunk/skins/waeup_default/layout_waeup_lib.pt
r617 r770 50 50 <tal:block condition="not: widget/label"> 51 51 <td> 52 <div valign="top" width=30%> no label </div>52 <div valign="top"> no label </div> 53 53 </td> 54 54 </tal:block> -
WAeUP_SRP/trunk/skins/waeup_default/portlet_waeup_status_display.pt
r753 r770 6 6 'admission_applied', 7 7 'cleared_and_validated', 8 'admitted', 9 'clearance_pin_entered', 8 10 'category_A', 9 11 'category_B', -
WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt
r711 r770 22 22 /> 23 23 <br /> 24 24 25 <h3>Unused</h3> 25 26 <table> 26 27 <tr tal:repeat="pin info/unused"> 27 <td tal:content="pin/serial" />28 <td width="50px"> <span tal:content="pin/serial" />: </td> 28 29 <td tal:content="pin/pin" /> 29 30 </tr> 30 31 </table> 32 31 33 <h3>Used</h3> 32 34 <table> 33 35 <tr tal:repeat="pin info/used"> 34 <td tal:content="pin/serial" />36 <td width="50px"> <span tal:content="pin/serial" />: </td> 35 37 <td tal:content="pin/pin" /> 36 38 <td> -
WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py
r710 r770 29 29 30 30 for item in used: 31 if bd.prefix == "APP": 32 jno = item['student'] 33 res = context.portal_catalog(SearchableText=jno,portal_type='StudentApplication') 31 sno = item['student'] 32 if len(sno)==10: 33 #if bd.prefix == "APP": 34 res = context.portal_catalog(SearchableText=sno,portal_type='StudentApplication') 34 35 if len(res) > 0: 35 36 item['student_url'] = "%s/%s" % (context.portal_url(),res[0].relative_path) -
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.