Clean up whitespace, change workflow description.
svn path=/plone.app.discussion/trunk/; revision=40191
This commit is contained in:
parent
d77ca9d583
commit
41c9d030d8
@ -3,7 +3,7 @@
|
||||
i18n:domain="plone"
|
||||
workflow_id="comment_review_workflow"
|
||||
title="Comment Review Workflow"
|
||||
description="A simple workflow for comments"
|
||||
description="A simple review workflow for comments"
|
||||
state_variable="review_state"
|
||||
initial_state="pending"
|
||||
i18n:attributes="title; description">
|
||||
@ -74,43 +74,42 @@
|
||||
for_status="True" update_always="True">
|
||||
<description i18n:translate="">Previous transition</description>
|
||||
<default>
|
||||
|
||||
<expression>transition/getId|nothing</expression>
|
||||
</default>
|
||||
<guard>
|
||||
</guard>
|
||||
</variable>
|
||||
|
||||
<variable variable_id="actor" for_catalog="False"
|
||||
for_status="True" update_always="True">
|
||||
<description i18n:translate="">
|
||||
The ID of the user who performed the previous transition
|
||||
</description>
|
||||
<default>
|
||||
|
||||
<expression>user/getUserName</expression>
|
||||
</default>
|
||||
<guard>
|
||||
</guard>
|
||||
</variable>
|
||||
|
||||
<variable variable_id="comments" for_catalog="False"
|
||||
for_status="True" update_always="True">
|
||||
<description i18n:translate="">
|
||||
Comment about the last transition
|
||||
</description>
|
||||
<default>
|
||||
|
||||
<expression>python:state_change.kwargs.get('comment', '')</expression>
|
||||
</default>
|
||||
<guard>
|
||||
</guard>
|
||||
</variable>
|
||||
|
||||
<variable variable_id="review_history" for_catalog="False"
|
||||
for_status="False" update_always="False">
|
||||
<description i18n:translate="">
|
||||
Provides access to workflow history
|
||||
</description>
|
||||
<default>
|
||||
|
||||
<expression>state_change/getHistory</expression>
|
||||
</default>
|
||||
<guard>
|
||||
@ -118,13 +117,13 @@
|
||||
<guard-permission>Review portal content</guard-permission>
|
||||
</guard>
|
||||
</variable>
|
||||
|
||||
<variable variable_id="time" for_catalog="False"
|
||||
for_status="True" update_always="True">
|
||||
<description i18n:translate="">
|
||||
When the previous transition was performed
|
||||
</description>
|
||||
<default>
|
||||
|
||||
<expression>state_change/getDateTime</expression>
|
||||
</default>
|
||||
<guard>
|
||||
|
Loading…
Reference in New Issue
Block a user