Changeset 873 for WAeUP_SRP/trunk


Ignore:
Timestamp:
16 Nov 2006, 08:37:23 (18 years ago)
Author:
joachim
Message:

removed cpsdocument_edit_form from waeup_custom
changed all waeup-usages of cpsdocument_edit_form to waeup_edit_form

Location:
WAeUP_SRP/trunk
Files:
1 deleted
16 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/types/AccoHall.xml

    r649 r873  
    3737 </action>
    3838 <action title="action_edit" action_id="edit" category="object"
    39     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     39    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    4040    visible="True">
    4141  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/Certificate.xml

    r558 r873  
    4040 </action>
    4141 <action title="action_edit" action_id="edit" category="object"
    42     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     42    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    4343    visible="True">
    4444  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/CertificateCourse.xml

    r684 r873  
    3838 </action>
    3939 <action title="action_edit" action_id="edit" category="object"
    40     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     40    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    4141    visible="True">
    4242  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/Course.xml

    r684 r873  
    3838 </action>
    3939 <action title="action_edit" action_id="edit" category="object"
    40     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     40    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    4141    visible="True">
    4242  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/Department.xml

    r684 r873  
    4242 </action>
    4343 <action title="action_edit" action_id="edit" category="object"
    44     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     44    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    4545    visible="True">
    4646  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/Faculty.xml

    r684 r873  
    4242 </action>
    4343 <action title="action_edit" action_id="edit" category="object"
    44     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     44    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    4545    visible="True">
    4646  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/ScratchCard.xml

    r684 r873  
    4444 </action>
    4545 <action title="action_edit" action_id="edit" category="object"
    46     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     46    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    4747    visible="True">
    4848  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentAccommodation.xml

    r844 r873  
    3434 </action>
    3535 <action title="action_edit" action_id="edit" category="object"
    36     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     36    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    3737    visible="True">
    3838  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml

    r844 r873  
    3434 </action>
    3535 <action title="action_edit" action_id="edit" category="object"
    36     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     36    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    3737    visible="True">
    3838  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentCourseResult.xml

    r839 r873  
    3636 </action>
    3737 <action title="action_edit" action_id="edit" category="object"
    38     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     38    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    3939    visible="True">
    4040  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml

    r839 r873  
    3737 </action>
    3838 <action title="action_edit" action_id="edit" category="object"
    39     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     39    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    4040    visible="True">
    4141  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentPume.xml

    r844 r873  
    3434 </action>
    3535 <action title="action_edit" action_id="edit" category="object"
    36     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     36    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    3737    visible="True">
    3838  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml

    r759 r873  
    3838 <action title="action_edit" action_id="edit" category="object"
    3939    condition_expr="python:member and 'Manager' in member.getRoles()"
    40     url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
     40    url_expr="string:${object_url}/waeup_edit_form" visible="True">
    4141  <permission value="Modify portal content"/>
    4242 </action>
  • WAeUP_SRP/trunk/profiles/default/types/University.xml

    r542 r873  
    5252 <action title="action_edit" action_id="edit" category="object"
    5353    condition_expr="python:member and 'Manager' in member.getRoles()"
    54     url_expr="string:${object_url}/cpsdocument_edit_form" visible="False">
     54    url_expr="string:${object_url}/waeup_edit_form" visible="False">
    5555  <permission value="Modify portal content"/>
    5656 </action>
  • WAeUP_SRP/trunk/skins/waeup_custom/cpsdocument_edit.py

    r805 r873  
    3434# Validate the document and write it if it's valid
    3535# (We don't call getEditableContent here, validate does it when needed.)
    36 info = context.getStudentInfo()
    37 ##if info and info['is_student']:
    38 ##    return
     36#info = context.getStudentInfo()
    3937doc = context.getContent()
    4038is_valid, ds = doc.validate(request=REQUEST, proxy=context, cluster=cluster,
  • WAeUP_SRP/trunk/skins/waeup_default/waeup_edit_form.pt

    r867 r873  
    55           use_session=True,
    66           no_form=True);
    7     form_action string:cpsdocument_edit;
    8     creation python:False;
    9     edition python:True;
    10     metadata metadata|nothing;
    11     ">
     7           form_action string:cpsdocument_edit;
     8           form_type string:waeup;
     9           creation python:False;
     10           edition python:True;
     11           metadata metadata|nothing;
     12           ">
    1213<metal:block define-macro="edit_form">
    1314<metal:block use-macro="here/content_lib_master/macros/master">
Note: See TracChangeset for help on using the changeset viewer.