Changeset 739
- Timestamp:
- 21 Oct 2006, 13:37:37 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 1 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/types/StudentAccommodation.xml
r684 r739 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentAccommodation</property> 10 <property name="immediate_view"> academics_document_view</property>10 <property name="immediate_view">waeup_document_view</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=" academics_document_view"/>29 <alias from="view" to=" academics_document_view"/>28 <alias from="(Default)" to="waeup_document_view"/> 29 <alias from="view" to="waeup_document_view"/> 30 30 <action title="View" action_id="view" category="object" 31 condition_expr="" url_expr="string:${object_url}/ academics_document_view"31 condition_expr="" url_expr="string:${object_url}/waeup_document_view" 32 32 visible="True"> 33 33 <permission value="View"/> … … 37 37 visible="True"> 38 38 <permission value="Modify portal content"/> 39 </action> 39 </action> 40 40 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml
r684 r739 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentApplication</property> 10 <property name="immediate_view"> academics_document_view</property>10 <property name="immediate_view">waeup_document_view</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=" academics_document_view"/>29 <alias from="view" to=" academics_document_view"/>28 <alias from="(Default)" to="waeup_document_view"/> 29 <alias from="view" to="waeup_document_view"/> 30 30 <action title="View" action_id="view" category="object" 31 condition_expr="" url_expr="string:${object_url}/ academics_document_view"31 condition_expr="" url_expr="string:${object_url}/waeup_document_view" 32 32 visible="True"> 33 33 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r684 r739 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentClearance</property> 10 <property name="immediate_view"> academics_document_view</property>10 <property name="immediate_view">waeup_document_view</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 28 28 <property name="storage_methods"/> 29 29 <property name="cps_is_portlet">False</property> 30 <alias from="(Default)" to=" academics_document_view"/>30 <alias from="(Default)" to="waeup_document_view"/> 31 31 <alias from="view" to="academics_contents"/> 32 32 <action title="View" action_id="view" category="object" 33 33 condition_expr="" 34 url_expr="string:${object_url}/ academics_document_view"34 url_expr="string:${object_url}/waeup_document_view" 35 35 visible="True"> 36 36 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentCourseResult.xml
r731 r739 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentCourseResult</property> 10 <property name="immediate_view"> academics_document_view</property>10 <property name="immediate_view">waeup_document_view</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=" academics_document_view"/>28 <alias from="(Default)" to="waeup_document_view"/> 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=" academics_document_view"/>31 <alias from="view" to="waeup_document_view"/> 32 32 <action title="View" action_id="view" category="object" 33 condition_expr="" url_expr="string:${object_url}/ academics_document_view"33 condition_expr="" url_expr="string:${object_url}/waeup_document_view" 34 34 visible="True"> 35 35 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml
r684 r739 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentPersonal</property> 10 <property name="immediate_view"> academics_document_view</property>10 <property name="immediate_view">waeup_document_view</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 28 28 <property name="storage_methods"/> 29 29 <property name="cps_is_portlet">False</property> 30 <alias from="(Default)" to=" academics_document_view"/>31 <alias from="view" to=" academics_document_view"/>30 <alias from="(Default)" to="waeup_document_view"/> 31 <alias from="view" to="waeup_document_view"/> 32 32 <action title="View" action_id="view" category="object" 33 33 condition_expr="" 34 url_expr="string:${object_url}/ academics_document_view"34 url_expr="string:${object_url}/waeup_document_view" 35 35 visible="True"> 36 36 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentSemester.xml
r617 r739 28 28 <property name="storage_methods"/> 29 29 <property name="cps_is_portlet">False</property> 30 <alias from="(Default)" to=" academics_document_view"/>31 <alias from="view" to=" academics_document_view"/>30 <alias from="(Default)" to="waeup_document_view"/> 31 <alias from="view" to="waeup_document_view"/> 32 32 <action title="View" action_id="view" category="object" condition_expr="" 33 url_expr="string:${object_url}/ academics_document_view" visible="True">33 url_expr="string:${object_url}/waeup_document_view" visible="True"> 34 34 <permission value="View"/> 35 35 </action> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py
r683 r739 29 29 return context.courses_view() 30 30 elif context.portal_type == 'CertificatesFolder': 31 return context.certificates_view() 31 return context.certificates_view() 32 32 elif context.portal_type == 'Certificate': 33 33 return context.certificate_view() … … 35 35 return context.level_view() 36 36 elif context.portal_type in ('CertificateCourse','Course'): 37 return context. academics_document_view()37 return context.waeup_document_view() 38 38 return redirect("%s/srp_manager_view" % context.portal_url()) 39 39 -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r735 r739 25 25 member_id = str(member) 26 26 if student is None: 27 if context.isManager() :27 if context.isManager() and 'students' in context.getPhysicalPath(): 28 28 if context.portal_type == 'Student': 29 29 student_id = context.getId() … … 31 31 student_id = context.aq_parent.getId() 32 32 elif context.aq_parent.aq_parent.portal_type == 'Student': 33 student_id = context.aq_parent.aq_parent.getId() 33 student_id = context.aq_parent.aq_parent.getId() 34 34 elif context.aq_parent.aq_parent.aq_parent.portal_type == 'Student': 35 student_id = context.aq_parent.aq_parent.aq_parent.getId() 35 student_id = context.aq_parent.aq_parent.aq_parent.getId() 36 36 else: 37 student_id = member_id 37 student_id = member_id 38 38 else: 39 39 student_id = member_id … … 87 87 row['type'] = so.portal_type 88 88 row['is_editable'] = mtool.checkPermission('Modify portal content', soo) 89 sv_link = s_view_links.get(so.portal_type,None) or " academics_document_view"89 sv_link = s_view_links.get(so.portal_type,None) or "waeup_document_view" 90 90 row['s_view_link'] = "%s/%s" % (soo.absolute_url(),sv_link) 91 91 se_link = s_edit_links.get(so.portal_type,None)
Note: See TracChangeset for help on using the changeset viewer.