Changeset 311
- Timestamp:
- 15 Jul 2006, 14:41:46 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/roots/campus/academics.xml
r289 r311 1 1 <?xml version="1.0"?> 2 2 <object name="academics"> 3 <property name=" title">Academics</property>3 <property name="Title">Academics</property> 4 4 </object> -
WAeUP_SRP/trunk/profiles/default/types/Certificate.xml
r308 r311 24 24 </property> 25 25 <property name="layouts"> 26 <element value="common"/> 26 27 <element value="certificate"/> 27 28 </property> … … 32 33 <property name="storage_methods"/> 33 34 <property name="cps_is_portlet">False</property> 34 <alias from="(Default)" to=" certificate_view"/>35 <alias from="view" to=" certificate_view"/>35 <alias from="(Default)" to="academics_contents"/> 36 <alias from="view" to="academics_contents"/> 36 37 <action title="View" action_id="view" category="object" condition_expr="" 37 url_expr="string:${object_url}/ certificate_view" visible="True">38 url_expr="string:${object_url}/academics_contents" visible="True"> 38 39 <permission value="View"/> 39 40 </action> 40 41 <action title="action_edit" action_id="edit" category="object" 41 condition_expr=" python:member and 'Manager' in member.getRoles()"42 url_expr="string:${object_url}/cpsdocument_edit_form"visible="True">42 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 43 visible="True"> 43 44 <permission value="Modify portal content"/> 44 45 </action> 45 46 <action title="action_metadata" action_id="metadata" category="object" 46 condition_expr=" python:member and 'Manager' in member.getRoles()"47 url_expr="string:${object_url}/cpsdocument_metadata"visible="False">47 condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata" 48 visible="False"> 48 49 <permission value="Modify portal content"/> 49 50 </action> … … 53 54 <permission value="Modify portal content"/> 54 55 </action> 55 <action title="action_folder_contents" action_id="contents" category="object"56 condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"57 visible="True"/>58 56 </object> -
WAeUP_SRP/trunk/profiles/default/types/CertificateCourse.xml
r308 r311 31 31 <property name="storage_methods"/> 32 32 <property name="cps_is_portlet">False</property> 33 <alias from="(Default)" to=" temporary_view_all"/>34 <alias from="view" to=" temporary_view_all"/>33 <alias from="(Default)" to="cpsdocument_view"/> 34 <alias from="view" to="cpsdocument_view"/> 35 35 <action title="Standard View" action_id="view" category="object" 36 condition_expr="" url_expr="string:${object_url}/ temporary_view_all"36 condition_expr="" url_expr="string:${object_url}/cpsdocument_view" 37 37 visible="True"> 38 38 <permission value="View"/> 39 39 </action> 40 40 <action title="action_edit" action_id="edit" category="object" 41 condition_expr="" url_expr="string:${object_url}/ waeup_edit_form"41 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 42 42 visible="True"/> 43 43 <action title="action_metadata" action_id="metadata" category="object" 44 condition_expr=" python:member and 'Manager' in member.getRoles()"45 url_expr="string:${object_url}/cpsdocument_metadata"visible="False"/>44 condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata" 45 visible="False"/> 46 46 <action title="delegate" action_id="localroles" category="object" 47 47 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" -
WAeUP_SRP/trunk/profiles/default/types/CertificatesFolder.xml
r310 r311 1 1 <?xml version="1.0"?> 2 <object name="Certificate sFolder" meta_type="CPS Flexible Type Information"2 <object name="Certificate" meta_type="CPS Flexible Type Information" 3 3 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> 4 <property name="title"> </property>4 <property name="title">WAeUP Certificate</property> 5 5 <property name="description"></property> 6 6 <property name="content_icon"></property> 7 <property name="content_meta_type">C PS Document</property>8 <property name="product"> CPSDocument</property>9 <property name="factory">addC PSDocument</property>10 <property name="immediate_view"> </property>7 <property name="content_meta_type">Certificate</property> 8 <property name="product">WAeUP_SRP</property> 9 <property name="factory">addCertificate</property> 10 <property name="immediate_view">folder_view</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> 13 13 <property name="allowed_content_types"> 14 <element value=" Certificate"/>14 <element value="StudyLevel"/> 15 15 </property> 16 16 <property name="allow_discussion">False</property> 17 17 <property name="cps_is_searchable">True</property> 18 <property name="cps_proxy_type">document</property> 19 <property name="cps_display_as_document_in_listing">False</property> 20 <property name="schemas"/> 21 <property name="layouts"/> 22 <property name="layout_clusters"/> 18 <property name="cps_proxy_type">folder</property> 19 <property name="cps_display_as_document_in_listing">True</property> 20 <property name="schemas"> 21 <element value="metadata"/> 22 <element value="common"/> 23 <element value="certificate"/> 24 </property> 25 <property name="layouts"> 26 <element value="common"/> 27 <element value="certificate"/> 28 </property> 29 <property name="layout_clusters"> 30 <element value="metadata:metadata"/> 31 </property> 23 32 <property name="flexible_layouts"/> 24 33 <property name="storage_methods"/> 25 34 <property name="cps_is_portlet">False</property> 26 <alias from="(Default)" to=" academics_contents"/>27 <alias from="view" to=" academics_contents"/>35 <alias from="(Default)" to="certificate_view"/> 36 <alias from="view" to="certificate_view"/> 28 37 <action title="View" action_id="view" category="object" condition_expr="" 29 url_expr="string:${object_url}/ academics_contents" visible="True">38 url_expr="string:${object_url}/certificate_view" visible="True"> 30 39 <permission value="View"/> 31 40 </action> 32 <action title="Add Certificate" action_id="add_certificate" category="object" 33 condition_expr="python:True or member and 'UniversityManager'in member.getRoles()" 34 url_expr="string:${object/absolute_url}/create_certificate" 35 visible="True"/> 41 <action title="action_edit" action_id="edit" category="object" 42 condition_expr="python:member and 'Manager' in member.getRoles()" 43 url_expr="string:${object_url}/cpsdocument_edit_form" visible="True"> 44 <permission value="Modify portal content"/> 45 </action> 46 <action title="action_metadata" action_id="metadata" category="object" 47 condition_expr="python:member and 'Manager' in member.getRoles()" 48 url_expr="string:${object_url}/cpsdocument_metadata" visible="False"> 49 <permission value="Modify portal content"/> 50 </action> 36 51 <action title="delegate" action_id="localroles" category="object" 37 52 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" 38 visible="True"/> 39 <action title="Add Certificate" action_id="new_entry" category="object" 40 condition_expr="" 41 url_expr="string:${object/absolute_url}/content_create?type_name=Certificate" 42 visible="True"/> 53 visible="True"> 54 <permission value="Modify portal content"/> 55 </action> 43 56 </object> -
WAeUP_SRP/trunk/profiles/default/types/Course.xml
r308 r311 22 22 </property> 23 23 <property name="layouts"> 24 <element value="common"/> 24 25 <element value="course"/> 25 26 </property> … … 30 31 <property name="storage_methods"/> 31 32 <property name="cps_is_portlet">False</property> 32 <alias from="(Default)" to=" temporary_view_all"/>33 <alias from="view" to=" temporary_view_all"/>33 <alias from="(Default)" to="cpsdocument_view"/> 34 <alias from="view" to="cpsdocument_view"/> 34 35 <action title="Standard View" action_id="view" category="object" 35 condition_expr="" url_expr="string:${object_url}/ temporary_view_all"36 condition_expr="" url_expr="string:${object_url}/cpsdocument_view" 36 37 visible="True"> 37 38 <permission value="View"/> 38 39 </action> 39 40 <action title="action_edit" action_id="edit" category="object" 40 condition_expr=" python:member and 'Manager' in member.getRoles()"41 url_expr="string:${object_url}/cpsdocument_edit_form"visible="True">41 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 42 visible="True"> 42 43 <permission value="Modify portal content"/> 43 <permission value="University Manage"/>44 </action>45 <action title="action_folder_contents" action_id="contents" category="object"46 condition_expr="python:member and 'Manager' in member.getRoles()"47 url_expr="string:${object_url}/folder_contents" visible="True">48 <permission value="Modify portal content"/>49 <permission value="University Manage"/>50 44 </action> 51 45 <action title="action_metadata" action_id="metadata" category="object" 52 condition_expr=" python:member and 'Manager' in member.getRoles()"53 url_expr="string:${object_url}/cpsdocument_metadata"visible="True">46 condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata" 47 visible="True"> 54 48 <permission value="Modify portal content"/> 55 49 </action> -
WAeUP_SRP/trunk/profiles/default/types/CoursesFolder.xml
r309 r311 16 16 <property name="allow_discussion">False</property> 17 17 <property name="cps_is_searchable">True</property> 18 <property name="cps_proxy_type"> document</property>18 <property name="cps_proxy_type">folder</property> 19 19 <property name="cps_display_as_document_in_listing">False</property> 20 20 <property name="schemas"/> … … 30 30 <permission value="View archived revisions"/> 31 31 </action> 32 <action title="Add Course" action_id="add_course" category="object"33 condition_expr="python:True or member and 'UniversityManager'in member.getRoles()"34 url_expr="string:${object/absolute_url}/create_course" visible="True"/>35 <action title="action_folder_contents" action_id="contents" category="object"36 condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"37 visible="False"/>38 32 <action title="delegate" action_id="localroles" category="object" 39 33 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" -
WAeUP_SRP/trunk/profiles/default/types/Faculty.xml
r310 r311 42 42 <action title="action_edit" action_id="edit" category="object" 43 43 condition_expr="python:member and 'Manager' in member.getRoles()" 44 url_expr="string:${object_url}/ faculty_edit_form" visible="True">44 url_expr="string:${object_url}/academics_edit_form" visible="True"> 45 45 <permission value="Modify portal content"/> 46 46 </action> -
WAeUP_SRP/trunk/profiles/default/vocabularies/courselevel.xml
r199 r311 9 9 <item key="300" msgid="">Year 3 (300 Level)</item> 10 10 <item key="400" msgid="">Year 4 (400 Level)</item> 11 <item key="500" msgid="">Year 5 (400 Level)</item> 11 12 </object> -
WAeUP_SRP/trunk/profiles/default/workflows.xml
r309 r311 27 27 <bound-workflow workflow_id="workspace_calendar_wf"/> 28 28 </type> 29 <type type_id="Certificate Folder">29 <type type_id="CertificatesFolder"> 30 30 <bound-workflow workflow_id="waeup_base_wf"/> 31 31 </type> … … 36 36 <bound-workflow workflow_id="waeup_base_wf"/> 37 37 </type> 38 <type type_id="Course Folder">38 <type type_id="CoursesFolder"> 39 39 <bound-workflow workflow_id="waeup_base_wf"/> 40 40 </type> -
WAeUP_SRP/trunk/skins/waeup_custom/cpsdocument_create.py
r310 r311 36 36 url = ob.absolute_url() 37 37 meth_id = ti.queryMethodID('created', None) 38 if meth_id is not None:39 getattr(context, meth_id)(object=ob)38 ## if meth_id is not None: 39 ## getattr(context, meth_id)(object=ob) 40 40 action = ob.getTypeInfo().immediate_view 41 41 psm = 'psm_content_created'
Note: See TracChangeset for help on using the changeset viewer.