Changeset 310


Ignore:
Timestamp:
15 Jul 2006, 09:41:32 (18 years ago)
Author:
joachim
Message:

=changes

Location:
WAeUP_SRP/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/PatchCPSDefaultImportExport.py

    r265 r310  
    6363
    6464        obj = getattr(self.context, obj_id)
     65        if child.hasAttribute('Title'):
     66            print "set title",obj_id
     67            obj.title = child.getAttribute('Title')
     68       
    6569        importer = zapi.queryMultiAdapter((obj, self.environ), INode)
    6670        if importer:
  • WAeUP_SRP/trunk/profiles/default/types/CertificatesFolder.xml

    r309 r310  
    2424 <property name="storage_methods"/>
    2525 <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"/>
    2828 <action title="View" action_id="view" category="object" condition_expr=""
    2929    url_expr="string:${object_url}/academics_contents" visible="True">
     
    3434    url_expr="string:${object/absolute_url}/create_certificate"
    3535    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"/>
    3936 <action title="delegate" action_id="localroles" category="object"
    4037    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
  • WAeUP_SRP/trunk/profiles/default/types/Department.xml

    r308 r310  
    3434 <property name="cps_is_portlet">False</property>
    3535 <alias from="(Default)" to="academics_contents"/>
     36 <alias from="created" to="department_created"/>
    3637 <alias from="view" to="academics_contents"/>
    3738 <action title="View" action_id="view" category="object" condition_expr=""
     
    4243    condition_expr="python:member and 'Manager' in member.getRoles()"
    4344    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"/>
    4745 <action title="action_metadata" action_id="metadata" category="object"
    4846    condition_expr="python:member and 'Manager' in member.getRoles()"
  • WAeUP_SRP/trunk/profiles/default/types/Faculty.xml

    r308 r310  
    4545  <permission value="Modify portal content"/>
    4646 </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"/>
    5447 <action title="action_metadata" action_id="metadata" category="object"
    5548    condition_expr="python:member and 'Manager' in member.getRoles()"
     
    6255  <permission value="Modify portal content"/>
    6356 </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"/>
    6461</object>
Note: See TracChangeset for help on using the changeset viewer.