[CMF-checkins] CVS: CMF/CMFSetup/xml - wtcWorkflowExport.xml:1.6
Tres Seaver
tseaver at zope.com
Tue Jun 8 21:29:22 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/xml
In directory cvs.zope.org:/tmp/cvs-serv2983/xml
Modified Files:
wtcWorkflowExport.xml
Log Message:
- Reorder dc-workflow template for clarity.
=== CMF/CMFSetup/xml/wtcWorkflowExport.xml 1.5 => 1.6 ===
--- CMF/CMFSetup/xml/wtcWorkflowExport.xml:1.5 Tue Jun 8 21:22:43 2004
+++ CMF/CMFSetup/xml/wtcWorkflowExport.xml Tue Jun 8 21:29:22 2004
@@ -13,82 +13,6 @@
<permission
tal:repeat="permission workflow/permissions"
tal:content="permission">PERMISSION</permission>
- <variable
- variable_id="action"
- for_catalog="True"
- for_status="True"
- update_always="True"
- tal:repeat="variable workflow/variable_info"
- tal:attributes="variable_id variable/id;
- for_catalog variable/for_catalog;
- for_status variable/for_status;
- update_always variable/update_always;
- ">
- <span
- tal:replace="variable/description">The last transition</span>
- <default>
- <value
- tal:condition="variable/default_value"
- tal:content="variable/default_value">VALUE</value>
- <expression
- tal:condition="variable/default_expr"
- tal:content="variable/default_expr">EXPRESSION</expression>
- </default>
- <guard>
- <guard-permission
- tal:repeat="permission variable/guard_permissions"
- tal:content="permission">PERMISSION</guard-permission>
- <guard-role
- tal:repeat="role variable/guard_roles"
- tal:content="role">ROLE</guard-role>
- <guard-group
- tal:repeat="group variable/guard_groups"
- tal:content="group">GROUP</guard-group>
- <guard-expression
- tal:condition="variable/guard_expr"
- tal:content="variable/guard_expr">EXPRESSION</guard-expression>
- </guard>
- </variable>
- <worklist
- worklist_id="reviewer_queue"
- title="For Review"
- tal:repeat="worklist workflow/worklist_info"
- tal:attributes="worklist_id worklist/id;
- title worklist/title;
- ">
- <span
- tal:replace="worklist/description">Reviewer tasks</span>
- <action
- url="URL"
- category="CATEGORY"
- tal:condition="worklist/actbox_name"
- tal:attributes="url worklist/actbox_url;
- category worklist/actbox_category;
- "
- tal:content="worklist/actbox_name">ACTION NAME</action>
- <guard>
- <guard-permission
- tal:repeat="permission worklist/guard_permissions"
- tal:content="permission">PERMISSION</guard-permission>
- <guard-role
- tal:repeat="role worklist/guard_roles"
- tal:content="role">ROLE</guard-role>
- <guard-group
- tal:repeat="group worklist/guard_groups"
- tal:content="group">GROUP</guard-group>
- <guard-expression
- tal:condition="worklist/guard_expr"
- tal:content="worklist/guard_expr">EXPRESSION</guard-expression>
- </guard>
- <match
- name="review_state"
- values="pending"
- tal:repeat="match worklist/var_match"
- tal:attributes="name python: match[ 0 ];
- values python: match[ 1 ];
- "
- />
- </worklist>
<state
state_id="pending"
title="Waiting for reviewer"
@@ -174,4 +98,80 @@
tal:attributes="name python:var[0]"
tal:content="python:var[1]">EXPRESSION</assignment>
</transition>
+ <worklist
+ worklist_id="reviewer_queue"
+ title="For Review"
+ tal:repeat="worklist workflow/worklist_info"
+ tal:attributes="worklist_id worklist/id;
+ title worklist/title;
+ ">
+ <span
+ tal:replace="worklist/description">Reviewer tasks</span>
+ <action
+ url="URL"
+ category="CATEGORY"
+ tal:condition="worklist/actbox_name"
+ tal:attributes="url worklist/actbox_url;
+ category worklist/actbox_category;
+ "
+ tal:content="worklist/actbox_name">ACTION NAME</action>
+ <guard>
+ <guard-permission
+ tal:repeat="permission worklist/guard_permissions"
+ tal:content="permission">PERMISSION</guard-permission>
+ <guard-role
+ tal:repeat="role worklist/guard_roles"
+ tal:content="role">ROLE</guard-role>
+ <guard-group
+ tal:repeat="group worklist/guard_groups"
+ tal:content="group">GROUP</guard-group>
+ <guard-expression
+ tal:condition="worklist/guard_expr"
+ tal:content="worklist/guard_expr">EXPRESSION</guard-expression>
+ </guard>
+ <match
+ name="review_state"
+ values="pending"
+ tal:repeat="match worklist/var_match"
+ tal:attributes="name python: match[ 0 ];
+ values python: match[ 1 ];
+ "
+ />
+ </worklist>
+ <variable
+ variable_id="action"
+ for_catalog="True"
+ for_status="True"
+ update_always="True"
+ tal:repeat="variable workflow/variable_info"
+ tal:attributes="variable_id variable/id;
+ for_catalog variable/for_catalog;
+ for_status variable/for_status;
+ update_always variable/update_always;
+ ">
+ <span
+ tal:replace="variable/description">The last transition</span>
+ <default>
+ <value
+ tal:condition="variable/default_value"
+ tal:content="variable/default_value">VALUE</value>
+ <expression
+ tal:condition="variable/default_expr"
+ tal:content="variable/default_expr">EXPRESSION</expression>
+ </default>
+ <guard>
+ <guard-permission
+ tal:repeat="permission variable/guard_permissions"
+ tal:content="permission">PERMISSION</guard-permission>
+ <guard-role
+ tal:repeat="role variable/guard_roles"
+ tal:content="role">ROLE</guard-role>
+ <guard-group
+ tal:repeat="group variable/guard_groups"
+ tal:content="group">GROUP</guard-group>
+ <guard-expression
+ tal:condition="variable/guard_expr"
+ tal:content="variable/guard_expr">EXPRESSION</guard-expression>
+ </guard>
+ </variable>
</dc-workflow>
More information about the CMF-checkins
mailing list