Changeset 839
- Timestamp:
- 11 Nov 2006, 12:49:31 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/types/StudentAccommodation.xml
r805 r839 26 26 <property name="storage_methods"/> 27 27 <property name="cps_is_portlet">False</property> 28 <alias from="(Default)" to=" waeup_document_view"/>29 <alias from="view" to=" waeup_document_view"/>28 <alias from="(Default)" to="student_index"/> 29 <alias from="view" to="student_index"/> 30 30 <action title="View" action_id="view" category="object" 31 condition_expr="" url_expr="string:${object_url}/ waeup_document_view"31 condition_expr="" url_expr="string:${object_url}/student_index" 32 32 visible="True"> 33 33 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml
r739 r839 26 26 <property name="storage_methods"/> 27 27 <property name="cps_is_portlet">False</property> 28 <alias from="(Default)" to=" waeup_document_view"/>29 <alias from="view" to=" waeup_document_view"/>28 <alias from="(Default)" to="student_index"/> 29 <alias from="view" to="student_index"/> 30 30 <action title="View" action_id="view" category="object" 31 condition_expr="" url_expr="string:${object_url}/ waeup_document_view"31 condition_expr="" url_expr="string:${object_url}/student_index" 32 32 visible="True"> 33 33 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r739 r839 28 28 <property name="storage_methods"/> 29 29 <property name="cps_is_portlet">False</property> 30 <alias from="(Default)" to=" waeup_document_view"/>31 <alias from="view" to=" academics_contents"/>30 <alias from="(Default)" to="student_index"/> 31 <alias from="view" to="student_index"/> 32 32 <action title="View" action_id="view" category="object" 33 33 condition_expr="" 34 url_expr="string:${object_url}/ waeup_document_view"34 url_expr="string:${object_url}/student_index" 35 35 visible="True"> 36 36 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentCourseResult.xml
r739 r839 26 26 <property name="storage_methods"/> 27 27 <property name="cps_is_portlet">False</property> 28 <alias from="(Default)" to=" waeup_document_view"/>28 <alias from="(Default)" to="student_index"/> 29 29 <alias from="create_do" to="waeup_document_create_do"/> 30 30 <alias from="created" to="student_course_result_created"/> 31 <alias from="view" to=" waeup_document_view"/>31 <alias from="view" to="student_index"/> 32 32 <action title="View" action_id="view" category="object" 33 condition_expr="" url_expr="string:${object_url}/ waeup_document_view"33 condition_expr="" url_expr="string:${object_url}/student_index" 34 34 visible="True"> 35 35 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml
r739 r839 28 28 <property name="storage_methods"/> 29 29 <property name="cps_is_portlet">False</property> 30 <alias from="(Default)" to=" waeup_document_view"/>31 <alias from="view" to=" waeup_document_view"/>30 <alias from="(Default)" to="student_index"/> 31 <alias from="view" to="student_index"/> 32 32 <action title="View" action_id="view" category="object" 33 33 condition_expr="" 34 url_expr="string:${object_url}/ waeup_document_view"34 url_expr="string:${object_url}/student_index" 35 35 visible="True"> 36 36 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentPume.xml
r805 r839 26 26 <property name="storage_methods"/> 27 27 <property name="cps_is_portlet">False</property> 28 <alias from="(Default)" to=" waeup_document_view"/>29 <alias from="view" to=" waeup_document_view"/>28 <alias from="(Default)" to="student_index"/> 29 <alias from="view" to="student_index"/> 30 30 <action title="View" action_id="view" category="object" 31 condition_expr="" url_expr="string:${object_url}/ waeup_document_view"31 condition_expr="" url_expr="string:${object_url}/student_index" 32 32 visible="True"> 33 33 <permission value="View"/> -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r837 r839 24 24 elif context.portal_type == 'StudentStudyLevel': 25 25 return context.study_level_view() 26 return redirect("%s/student_view" % context.absolute_url()) 26 elif context.portal_type == 'StudentClearance': 27 return context.clearance_view() 28 elif context.portal_type == 'Student': 29 return redirect("%s/student_view" % context.absolute_url()) 30 return redirect("%s/waeup_document_view" % context.absolute_url()) 27 31 if context.isStudent(): 28 32 info = context.getStudentInfo() 29 33 student = info['student'] 30 doc = info['app_doc']31 state = context.getStudentInfo()['review_state']32 if state == 'admission_applied':33 return redirect("%s/application_view" % student.absolute_url())34 elif state in ('application_pin_entered',):35 return redirect("%s/application_edit" % info['app'].absolute_url())36 elif state in ('admitted',):37 return redirect("%s/admission_form" % student.absolute_url())38 elif state == 'clearance_pin_entered':39 return redirect("%s/student_view" % info['clear'].absolute_url())40 elif context.portal_type == 'StudentStudyLevel':41 return context.study_level_student_view()34 #doc = info['app_doc'] 35 #state = context.getStudentInfo()['review_state'] 36 #if state == 'admission_applied': 37 # return redirect("%s/application_view" % student.absolute_url()) 38 #elif state in ('application_pin_entered',): 39 # return redirect("%s/application_edit" % info['app'].absolute_url()) 40 #elif state in ('admitted',): 41 # return redirect("%s/admission_form" % student.absolute_url()) 42 #elif state == 'clearance_pin_entered': 43 # return redirect("%s/student_view" % info['clear'].absolute_url()) 44 #elif context.portal_type == 'StudentStudyLevel': 45 # return context.study_level_student_view() 42 46 return redirect("%s/student_view" % student.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.