Changeset 310
- Timestamp:
- 15 Jul 2006, 09:41:32 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/PatchCPSDefaultImportExport.py
r265 r310 63 63 64 64 obj = getattr(self.context, obj_id) 65 if child.hasAttribute('Title'): 66 print "set title",obj_id 67 obj.title = child.getAttribute('Title') 68 65 69 importer = zapi.queryMultiAdapter((obj, self.environ), INode) 66 70 if importer: -
WAeUP_SRP/trunk/profiles/default/types/CertificatesFolder.xml
r309 r310 24 24 <property name="storage_methods"/> 25 25 <property name="cps_is_portlet">False</property> 26 <alias from="(Default)" to="academics_ view"/>27 <alias from="view" to="academics_ view"/>26 <alias from="(Default)" to="academics_contents"/> 27 <alias from="view" to="academics_contents"/> 28 28 <action title="View" action_id="view" category="object" condition_expr="" 29 29 url_expr="string:${object_url}/academics_contents" visible="True"> … … 34 34 url_expr="string:${object/absolute_url}/create_certificate" 35 35 visible="True"/> 36 <action title="action_folder_contents" action_id="contents" category="object"37 condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"38 visible="False"/>39 36 <action title="delegate" action_id="localroles" category="object" 40 37 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" -
WAeUP_SRP/trunk/profiles/default/types/Department.xml
r308 r310 34 34 <property name="cps_is_portlet">False</property> 35 35 <alias from="(Default)" to="academics_contents"/> 36 <alias from="created" to="department_created"/> 36 37 <alias from="view" to="academics_contents"/> 37 38 <action title="View" action_id="view" category="object" condition_expr="" … … 42 43 condition_expr="python:member and 'Manager' in member.getRoles()" 43 44 url_expr="string:${object_url}/cpsdocument_edit_form" visible="True"/> 44 <action title="action_folder_contents" action_id="contents" category="object"45 condition_expr="python:member and 'Manager' in member.getRoles()"46 url_expr="string:${object_url}/folder_contents" visible="False"/>47 45 <action title="action_metadata" action_id="metadata" category="object" 48 46 condition_expr="python:member and 'Manager' in member.getRoles()" -
WAeUP_SRP/trunk/profiles/default/types/Faculty.xml
r308 r310 45 45 <permission value="Modify portal content"/> 46 46 </action> 47 <action title="Add Department" action_id="new_entry" category="object"48 condition_expr=""49 url_expr="string:${object/absolute_url}/content_create?type_name=Department"50 visible="True"/>51 <action title="action_folder_contents" action_id="contents" category="object"52 condition_expr="" url_expr="string:${object_url}/folder_contents"53 visible="False"/>54 47 <action title="action_metadata" action_id="metadata" category="object" 55 48 condition_expr="python:member and 'Manager' in member.getRoles()" … … 62 55 <permission value="Modify portal content"/> 63 56 </action> 57 <action title="Add Department" action_id="new_entry" category="object" 58 condition_expr="" 59 url_expr="string:${object/absolute_url}/content_create?type_name=Department" 60 visible="True"/> 64 61 </object>
Note: See TracChangeset for help on using the changeset viewer.