X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/b3b52f5b0ad754fd9036f816d0ab8e98a5373f40..8c427cd00d1605e275df038865ffa85623171c13:/profiles/photo/workflows/folder_workflow/definition.xml diff --git a/profiles/photo/workflows/folder_workflow/definition.xml b/profiles/photo/workflows/folder_workflow/definition.xml index eff5a82..ab685f8 100644 --- a/profiles/photo/workflows/folder_workflow/definition.xml +++ b/profiles/photo/workflows/folder_workflow/definition.xml @@ -1,9 +1,8 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <dc-workflow workflow_id="folder_workflow" title="Plinn folder workflow" description="" state_variable="review_state" - initial_state="private" manager_bypass="0"> - + initial_state="private" manager_bypass="False"> <permission>Manage properties</permission> <permission>Modify portal content</permission> <permission>View</permission> @@ -69,7 +68,7 @@ before_script="" after_script=""> <description>Reviewer can directly publish content if he have de Owner role (not necessarily ownership)</description> <action url="%(content_url)s/content_publish_form?direct:boolean=True" - category="workflow">Publish</action> + category="workflow" icon="">Publish</action> <guard> <guard-permission>Review portal content</guard-permission> <guard-expression>python:user.allowed(here, ['Owner'])</guard-expression> @@ -80,7 +79,7 @@ new_state="published" trigger="USER" before_script="" after_script=""> <action url="%(content_url)s/content_publish_form" - category="workflow">Publish</action> + category="workflow" icon="">Publish</action> <guard> <guard-permission>Review portal content</guard-permission> </guard> @@ -90,7 +89,7 @@ new_state="private" trigger="USER" before_script="" after_script=""> <action url="%(content_url)s/content_reject_form" - category="workflow">Reject</action> + category="workflow" icon="">Reject</action> <guard> <guard-permission>Review portal content</guard-permission> </guard> @@ -100,7 +99,7 @@ new_state="private" trigger="USER" before_script="" after_script=""> <action url="%(content_url)s/content_retract_form" - category="workflow">Retract</action> + category="workflow" icon="">Retract</action> <guard> <guard-permission>Request review</guard-permission> <guard-expression>python:not(here.portal_membership.checkPermission('Review portal content', here))</guard-expression> @@ -111,7 +110,7 @@ new_state="pending" trigger="USER" before_script="" after_script=""> <action url="%(content_url)s/content_submit_form" - category="workflow">Submit</action> + category="workflow" icon="">Submit</action> <guard> <guard-permission>Request review</guard-permission> </guard>