Clean up whitespace, change workflow description.

svn path=/plone.app.discussion/trunk/; revision=40192
This commit is contained in:
Timo Stollenwerk 2010-09-24 03:12:12 +00:00
parent 41c9d030d8
commit ea26c70eed

View File

@ -3,7 +3,7 @@
i18n:domain="plone" i18n:domain="plone"
workflow_id="one_state_workflow" workflow_id="one_state_workflow"
title="Comment Single State Workflow" title="Comment Single State Workflow"
description="- Essentially a workflow with no transitions, but has a Published state, so portlets and applications that expect that state will continue to work." description="Essentially a workflow with no transitions, but has a Published state, so portlets and applications that expect that state will continue to work."
state_variable="review_state" state_variable="review_state"
initial_state="published" initial_state="published"
i18n:attributes="title; description"> i18n:attributes="title; description">
@ -43,47 +43,46 @@
</permission-map> </permission-map>
</state> </state>
<variable variable_id="action" for_catalog="False" <variable variable_id="action" for_catalog="False"
for_status="True" update_always="True"> for_status="True" update_always="True">
<description i18n:translate="">Previous transition</description> <description i18n:translate="">Previous transition</description>
<default> <default>
<expression>transition/getId|nothing</expression> <expression>transition/getId|nothing</expression>
</default> </default>
<guard> <guard>
</guard> </guard>
</variable> </variable>
<variable variable_id="actor" for_catalog="False"
<variable variable_id="actor" for_catalog="False"
for_status="True" update_always="True"> for_status="True" update_always="True">
<description i18n:translate=""> <description i18n:translate="">
The ID of the user who performed the previous transition The ID of the user who performed the previous transition
</description> </description>
<default> <default>
<expression>user/getId</expression> <expression>user/getId</expression>
</default> </default>
<guard> <guard>
</guard> </guard>
</variable> </variable>
<variable variable_id="comments" for_catalog="False"
<variable variable_id="comments" for_catalog="False"
for_status="True" update_always="True"> for_status="True" update_always="True">
<description i18n:translate=""> <description i18n:translate="">
Comment about the last transition Comment about the last transition
</description> </description>
<default> <default>
<expression>python:state_change.kwargs.get('comment', '')</expression> <expression>python:state_change.kwargs.get('comment', '')</expression>
</default> </default>
<guard> <guard>
</guard> </guard>
</variable> </variable>
<variable variable_id="review_history" for_catalog="False" <variable variable_id="review_history" for_catalog="False"
for_status="False" update_always="False"> for_status="False" update_always="False">
<description i18n:translate=""> <description i18n:translate="">
Provides access to workflow history Provides access to workflow history
</description> </description>
<default> <default>
<expression>state_change/getHistory</expression> <expression>state_change/getHistory</expression>
</default> </default>
<guard> <guard>
@ -91,13 +90,13 @@
<guard-permission>Review portal content</guard-permission> <guard-permission>Review portal content</guard-permission>
</guard> </guard>
</variable> </variable>
<variable variable_id="time" for_catalog="False"
<variable variable_id="time" for_catalog="False"
for_status="True" update_always="True"> for_status="True" update_always="True">
<description i18n:translate=""> <description i18n:translate="">
When the previous transition was performed When the previous transition was performed
</description> </description>
<default> <default>
<expression>state_change/getDateTime</expression> <expression>state_change/getDateTime</expression>
</default> </default>
<guard> <guard>