Ignore:
Timestamp:
9 Oct 2008, 06:35:56 (16 years ago)
Author:
Henrik Bettermann
Message:

fix customization of actions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/aaua/actions.xml

    r3689 r3715  
    22<object name="portal_actions" meta_type="CMF Actions Tool">
    33 <action-provider name="portal_membership">
    4   <action title="Search Members" action_id="member_view" category="user"
    5      condition_expr="member"
    6      url_expr="string:${portal_url}/search_members_form" visible="False">
    7    <permission>View</permission>
    8   </action>
    9   <action title="Staff Login" action_id="login_staff" category="student"
    10      condition_expr="not: member" url_expr="string:${portal_url}/login_staff"
    11      visible="True">
    12    <permission>View</permission>
    13   </action>
    14   <action title="Log out" action_id="logout" category="user"
    15      condition_expr="member" url_expr="string:${portal_url}/logout"
    16      visible="True">
    17    <permission>View</permission>
    18   </action>
    19   <action title="action_my_preferences" action_id="preferences"
    20      category="user"
    21      condition_expr="python:member and member.has_role(&quot;Member&quot;)"
    22      url_expr="string:${portal_url}/member_view?dirname=members&amp;id=${member}"
    23      visible="True">
    24    <permission>View</permission>
    25   </action>
    264  <action title="Student Login" action_id="login_student" category="student"
    275     condition_expr="python: not member and (portal.portal_url().find('aaua.waeup.org') &gt;-1)"
     
    297   <permission>View</permission>
    308  </action>
    31   <action title="Log out" action_id="logout_student" category="student"
    32      condition_expr="member" url_expr="string:${portal_url}/logout"
    33      visible="True"/>
    34  </action-provider>
    35  <action-provider name="portal_actions">
    36   <action title="action_print" action_id="print" category="global_header"
    37      condition_expr=""
    38      url_expr="string:javascript:if%20(window.print)%20window.print();"
    39      visible="False">
    40    <permission>View</permission>
    41   </action>
    42   <action title="Search Portal" action_id="waeup_search" category="global"
    43      condition_expr="member" url_expr="string:./waeup_search_form"
    44      visible="True">
    45    <permission>View</permission>
    46   </action>
    47   <action title="Import Data" action_id="import" category="global"
    48      condition_expr="python:member and member.has_role('Manager')" url_expr="string:${portal_url}/import"
    49      visible="True">
    50    <permission>View</permission>
    51   </action>
    52   <action title="Directories" action_id="directories" category="global"
    53      condition_expr="python:portal.portal_directories.isSectionOfficer()"
    54      url_expr="string:${portal_url}/cpsdirectory_view" visible="False">
    55    <permission>View</permission>
    56   </action>
    57   <action title="Portal Members" action_id="members" category="global"
    58      condition_expr="python:portal.portal_directories.members.isSectionOfficer()"
    59      url_expr="string:${portal_url}/search_members_form" visible="True">
    60    <permission>View</permission>
    61   </action>
    62   <action title="Home" action_id="home" category="navigation"
    63      condition_expr="member" url_expr="string:${portal_url}/campus"
    64      visible="True">
    65    <permission>View</permission>
    66   </action>
    67   <action title="Academics" action_id="view_academics" category="navigation"
    68      condition_expr="member" url_expr="string:${portal_url}/campus/academics"
    69      visible="True">
    70    <permission>View</permission>
    71   </action>
    72   <action title="Hostels" action_id="view_accommodation" category="navigation"
    73      condition_expr="python:portal.campus.accommodation.isSectionOfficer()"
    74      url_expr="string:${portal_url}/campus/accommodation" visible="True">
    75    <permission>View</permission>
    76   </action>
    77   <action title="Students" action_id="view_students" category="navigation"
    78      condition_expr="python:portal.campus.students.isStaff()"
    79      url_expr="string:${portal_url}/campus/students" visible="True">
    80    <permission>View</permission>
    81   </action>
    82   <action title="PINs" action_id="view_pins" category="navigation"
    83      condition_expr="python:portal.campus.pins.isSectionOfficer()"
    84      url_expr="string:${portal_url}/campus/pins" visible="True">
    85    <permission>View</permission>
    86   </action>
    87   <action title="Documents" action_id="view_documents" category="navigation"
    88      condition_expr="python:portal.campus.documents.isSectionOfficer()"
    89      url_expr="string:${portal_url}/campus/documents"
    90      visible="True">
    91    <permission>View</permission>
    92   </action>
    93 
    94   <action title="Uploads" action_id="view_uploads" category="navigation"
    95      condition_expr="python:portal.campus.uploads.isSectionOfficer()"
    96      url_expr="string:${portal_url}/campus/uploads"
    97      visible="True">
    98    <permission>View</permission>
    99   </action>
    100 
    101   <action title="Contact" action_id="contact_admin" category="navigation"
    102      condition_expr="member"
    103      url_expr="string:${portal_url}/contact_admin_form" visible="True">
    104    <permission>View</permission>
    105   </action>
    106   <action title="Enquiries" action_id="support_anon"
    107      category="student_navigation" condition_expr="not:member"
    108      url_expr="string:${portal_url}/contact_admin_form" visible="True">
    109    <permission>View</permission>
    110   </action>
    111   <action title="Enquiries" action_id="support" category="student_navigation"
    112      condition_expr="member" url_expr="string:${portal_url}/support_form"
    113      visible="True">
    114    <permission>View</permission>
    115   </action>
    116   <action title="Unchecked Items" action_id="unchecked" category="object"
    117      condition_expr="python:member and 'academics' in object_url"
    118      url_expr="string:./unchecked" visible="True">
    119    <permission>Modify portal content</permission>
    120   </action>
    121   <action title="PCE Screening Test" action_id="apply_pce_admission"
    122      category="student" condition_expr="not:member"
    123      url_expr="string:${portal_url}/apply_admission/pce" visible="False">
    124    <permission>View</permission>
    125   </action>
    126   <action title="PRE-NCE Application" action_id="apply_prence_admission"
    127      category="student" condition_expr="not:member"
    128      url_expr="string:${portal_url}/apply_admission/prence" visible="False">
    129    <permission>View</permission>
    130   </action>
    131   <action title="Check Admission 06/07" action_id="check_admission"
    132      category="student" condition_expr="not:member"
    133      url_expr="string:${portal_url}/check_admission" visible="False">
    134    <permission>View</permission>
    135   </action>
    136   <action title="Change Password" action_id="change_password"
    137      category="student" condition_expr="member"
    138      url_expr="string:${portal_url}/change_password" visible="True">
    139    <permission>View</permission>
    140   </action>
    141   <action title="Home" action_id="students_home" category="student_navigation"
    142      condition_expr="not:member" url_expr="string:${portal_url}"
    143      visible="True">
    144    <permission>View</permission>
    145   </action>
    146   <action title="Prospectus" action_id="prospectus"
    147      category="student_navigation" condition_expr="member"
    148      url_expr="string:${portal_url}/campus/academics" visible="True">
    149    <permission>View</permission>
    150   </action>
    151   <action title="My Study" action_id="registration"
    152      category="student_navigation" condition_expr="member"
    153      url_expr="string:${portal_url}/campus/students" visible="True">
    154    <permission>View</permission>
    155   </action>
    156   <action title="My Accommodation" action_id="reserve_accommodation"
    157      category="student_navigation" condition_expr="member"
    158      url_expr="string:${portal_url}/campus/students/${member}/reserve_accommodation" visible="True"/>
    159   <action title="My Payments" action_id="payments"
    160      category="student_navigation" condition_expr="member"
    161      url_expr="string:${portal_url}/campus/students/${member}/payments"
    162      visible="True"/>
    163   <action title="Register Courses" action_id="register_courses"
    164      category="student" condition_expr="member"
    165      url_expr="string:${portal_url}/register_courses" visible="False"/>
    166   <action title="Request Transfer" action_id="request_transfer"
    167      category="student"
    168      condition_expr="python: here.isStudent() and here.getStudentWorkflowInfo()['tr']"
    169      url_expr="string:${portal_url}/request_transfer" visible="False"/>
    170  </action-provider>
    171  <action-provider name="portal_registration">
    172   <action title="Join" action_id="join" category="user"
    173      condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
    174      url_expr="string:${portal_url}/join_form" visible="True">
    175    <permission>Add portal member</permission>
    176   </action>
    177  </action-provider>
    178  <action-provider name="portal_workflow"/>
    179  <action-provider name="portal_properties">
    180   <action title="Portal Base Data" action_id="configPortal"
    181      category="global" condition_expr=""
    182      url_expr="string:${portal_url}/config_form" visible="True">
    183    <permission>Manage portal</permission>
    184   </action>
    1859 </action-provider>
    18610</object>
Note: See TracChangeset for help on using the changeset viewer.