From 0916b37d063a0f40c03c2240ff0e9d987bd6291a Mon Sep 17 00:00:00 2001 From: Hakihiro Date: Mon, 26 Nov 2018 17:47:52 +0100 Subject: [PATCH] Update usage.rst `to_review` is a name of a transitions in this doc page. But in the `workflow_has_marked_place` we pass a `place`, in this context it should be `review` instead of `to_review` --- workflow/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/usage.rst b/workflow/usage.rst index 22c0ecff5da..5373c6e1345 100644 --- a/workflow/usage.rst +++ b/workflow/usage.rst @@ -467,7 +467,7 @@ The following example shows these functions in action: {% endfor %} {# Check if the object is in some specific place #} - {% if workflow_has_marked_place(post, 'to_review') %} + {% if workflow_has_marked_place(post, 'review') %}

This post is ready for review.

{% endif %}