Changeset 649
- Timestamp:
- 11 Oct 2006, 06:24:39 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/types/AccoFolder.xml
r626 r649 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addAccoFolder</property> 10 <property name="immediate_view">acco mmodation_index</property>10 <property name="immediate_view">acco_folder_index</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 29 29 <property name="storage_methods"/> 30 30 <property name="cps_is_portlet">False</property> 31 <alias from="(Default)" to="acco mmodation_index"/>32 <alias from="view" to="acco mmodation_index"/>31 <alias from="(Default)" to="acco_folder_index"/> 32 <alias from="view" to="acco_folder_index"/> 33 33 <action title="View" action_id="view" category="object" condition_expr="" 34 url_expr="string:${object_url}/acco mmodation_index" visible="True">34 url_expr="string:${object_url}/acco_folder_index" visible="True"> 35 35 <permission value="View"/> 36 36 </action> -
WAeUP_SRP/trunk/profiles/default/types/AccoHall.xml
r635 r649 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addAccoHall</property> 10 <property name="immediate_view">acco mmodation_index</property>10 <property name="immediate_view">acco_folder_index</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 30 30 <property name="storage_methods"/> 31 31 <property name="cps_is_portlet">False</property> 32 <alias from="(Default)" to="acco mmodation_index"/>33 <alias from="view" to="acco mmodation_index"/>32 <alias from="(Default)" to="acco_folder_index"/> 33 <alias from="view" to="acco_folder_index"/> 34 34 <action title="View" action_id="view" category="object" condition_expr="" 35 url_expr="string:${object_url}/acco mmodation_index" visible="True">35 url_expr="string:${object_url}/acco_folder_index" visible="True"> 36 36 <permission value="View"/> 37 37 </action> -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_index.py
r637 r649 24 24 if context.isManager(): 25 25 if context.portal_type == 'AccoFolder': 26 return context.accommodation.acco mmodation_view()26 return context.accommodation.acco_folder_view() 27 27 elif context.portal_type == 'AccoHall': 28 28 return context.acco_hall_view() -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_view.pt
r637 r649 1 <metal:html tal:define="info context/getAcco HallsInfo;1 <metal:html tal:define="info context/getAccoFolderInfo; 2 2 is_manager info/is_manager|nothing; 3 3 beds_generated options/beds_generated|nothing" -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_hall_view.pt
r632 r649 1 <metal:html tal:define="info context/get HallInfo;1 <metal:html tal:define="info context/getAccoHallInfo; 2 2 is_manager info/is_manager|nothing;" 3 3 > -
WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py
r543 r649 49 49 % (context.absolute_url(),s_id,pin.split('-')[2],pin)) 50 50 51 ## jamb_id = ds.get('jamb_reg_no')52 ## student = context.getContent().getStudentByRegNo(jamb_id)53 ## if student is None:54 ## psm = "JAMB record %s not accessible." % (jamb_id)55 ## return context.application_pin_form(rendered = res,56 ## psm = psm,57 ## #psm = "%s, %s" % (psm,ds),58 ## ds = ds,59 ## )60 ##if context.portal_workflow.getInfoFor(student,'review_state',None) == "created":61 ## #student.invokeFactory('StudentClearance','clearance')62 ##da = {}63 ##pin = str(ds.get('app_ac_pin'))64 ##da['app_ac_pin'] = pin65 ##da['app_ac_date'] = current66 ##apdoc.edit(mapping = da)67 68 69 # now display the passport form with jamb-data readonly70 ##return context.REQUEST.RESPONSE.redirect("%s/application_form" % (student.application.absolute_url()))71 ##return student.application_form()72 73 51 return 74 52
Note: See TracChangeset for help on using the changeset viewer.