X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3e0a2c257d49fb162da9c70d2f70194036235166..3c4367d8e03450e9a73e61f4247145d2b6c86a33:/profiles/default/actions.xml diff --git a/profiles/default/actions.xml b/profiles/default/actions.xml index dd9f41b..06645cc 100644 --- a/profiles/default/actions.xml +++ b/profiles/default/actions.xml @@ -4,13 +4,13 @@ - Login string:${portal_url}/login_form + not: member @@ -23,6 +23,7 @@ string:${portal/portal_membership/getHomeUrl}/folder_contents + python: member and portal.portal_membership.getHomeFolder() @@ -35,6 +36,7 @@ Add to favorites string:${object_url}/addtoFavorites + portal/portal_membership/getHomeFolder @@ -48,6 +50,7 @@ string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents + python: member and hasattr(portal.portal_membership.getHomeFolder(), "Favorites") @@ -60,6 +63,7 @@ Preferences string:${portal_url}/personalize_form + member @@ -71,6 +75,7 @@ Log out string:${portal_url}/logout?noajax=1 + member @@ -82,6 +87,7 @@ Logged in string:${portal_url}/index_html + @@ -93,6 +99,7 @@ Join string:${portal_url}/join_form + not: member @@ -107,6 +114,7 @@ List string:${folder_url}/folder_contents + python:member and folder is not object and object.portal_type !='Event' @@ -123,6 +131,7 @@ string:${portal_url}/manage_boxes?noajax=1 + @@ -134,6 +143,7 @@ Send an email string:${object_url}/send_email_form + member @@ -145,6 +155,7 @@ Undo string:${portal_url}/undo_form + member @@ -156,6 +167,7 @@ Configure Portal string:${portal_url}/reconfig_form + @@ -167,6 +179,7 @@ Directory string:${portal_url}/groups_members + @@ -182,6 +195,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 +211,7 @@ Syndicate string:${folder_url}/synPropertiesForm + python: folder is object and portal.portal_syndication.isSiteSyndicationAllowed() @@ -209,9 +224,10 @@ Calendar View string:${folder_url}/calendar_view + python:member and folder is object and object.portal_type in ['Plinn Folder', 'Portfolio'] + name="available_expr">python:member and folder is object and object.portal_type in ['Huge Plinn Folder', 'Portfolio']