- Timestamp:
- 11 Dec 2006, 10:28:28 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/types/ScratchCardBatch.xml
r770 r1027 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addScratchCardBatch</property> 10 <property name="immediate_view"> batch_view</property>10 <property name="immediate_view">search_pins</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 26 26 <property name="storage_methods"/> 27 27 <property name="cps_is_portlet">False</property> 28 <alias from="(Default)" to=" batch_view"/>28 <alias from="(Default)" to="search_pins"/> 29 29 <alias from="create_do" to="scratch_card_batch_create_do"/> 30 30 <alias from="created" to="scratch_card_batch_created"/> 31 <alias from="view" to=" batch_view"/>31 <alias from="view" to="search_pins"/> 32 32 <action title="View" action_id="view" category="object" 33 condition_expr="" url_expr="string:${object_url}/ batch_view"33 condition_expr="" url_expr="string:${object_url}/search_pins" 34 34 visible="True"> 35 35 <permission value="Modify portal content"/> -
WAeUP_SRP/trunk/skins/waeup_student/application_edit_form.pt
r1025 r1027 1 1 <metal:html tal:define="info context/getStudentInfo"> 2 2 <span tal:condition="not: info"> 3 <metal:block use-macro="here/ error_not_found/macros/not_found" />3 <metal:block use-macro="here/illegal_view/macros/illegal_view" /> 4 4 </span> 5 5 <metal:block tal:condition="info"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r1017 r1027 54 54 if context.isStudent(): 55 55 action = "/clearance_edit_form" 56 if clear_doc.clr_ac_pin == "": 57 res = context.portal_pins(student=member_id) 58 if res: 59 p = res[0].pin 60 if len(p) > 10: 61 pin = "%s-%s-%s" % (p[:3],p[3:4],p[4:]) 62 else: 63 pin = p 64 clear_doc.edit(mapping={'clr_ac_pin': pin}) 56 65 elif cpsdocument_edit_and_view_button: 57 66 if acknowledge and info['review_state'] == "clearance_pin_entered": -
WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py
r1021 r1027 65 65 dc['lga_ident'] = app_doc.get('jamb_lga') 66 66 dc['lga'] = app_doc.get('jamb_state','no state') + ' / ' + app_doc.get('jamb_lga','no lga') 67 dc['clr_ac_pin'] = pin 67 68 dc['clr_ac_date'] = current 68 69 dc['entry_date'] = current
Note: See TracChangeset for help on using the changeset viewer.