X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/d56af7d5daf44cca8a2d834be055c91c7dc48643..6a8d5b4fad024fea48ed937da0ecac4c2277cb13:/profiles/default/actions.xml?ds=sidebyside diff --git a/profiles/default/actions.xml b/profiles/default/actions.xml index aa0c82c..5794d32 100644 --- a/profiles/default/actions.xml +++ b/profiles/default/actions.xml @@ -11,6 +11,7 @@ Login string:${portal_url}/login_form + not: member @@ -23,6 +24,7 @@ string:${portal/portal_membership/getHomeUrl}/folder_contents + python: member and portal.portal_membership.getHomeFolder() @@ -35,6 +37,7 @@ Add to favorites string:${object_url}/addtoFavorites + portal/portal_membership/getHomeFolder @@ -48,6 +51,7 @@ string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents + python: member and hasattr(portal.portal_membership.getHomeFolder(), "Favorites") @@ -60,6 +64,7 @@ Preferences string:${portal_url}/personalize_form + member @@ -71,6 +76,7 @@ Log out string:${portal_url}/logout?noajax=1 + member @@ -82,6 +88,7 @@ Logged in string:${portal_url}/index_html + @@ -93,6 +100,7 @@ Join string:${portal_url}/join_form + not: member @@ -107,6 +115,7 @@ List string:${folder_url}/folder_contents + python:member and folder is not object and object.portal_type !='Event' @@ -123,6 +132,7 @@ string:${portal_url}/manage_boxes?noajax=1 + @@ -134,6 +144,7 @@ Send an email string:${object_url}/send_email_form + member @@ -145,6 +156,7 @@ Undo string:${portal_url}/undo_form + member @@ -156,6 +168,7 @@ Configure Portal string:${portal_url}/reconfig_form + @@ -167,6 +180,7 @@ Directory string:${portal_url}/groups_members + @@ -182,6 +196,7 @@ string:${object_url}/discussion_reply_form + python: object is not None and object.meta_type != 'Discussion Item' and portal.portal_discussion.isDiscussionAllowedFor(object) @@ -197,6 +212,7 @@ Syndicate string:${folder_url}/synPropertiesForm + python: folder is object and portal.portal_syndication.isSiteSyndicationAllowed() @@ -209,6 +225,7 @@ Calendar View string:${folder_url}/calendar_view + python:member and folder is object and object.portal_type in ['Huge Plinn Folder', 'Portfolio']