Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e7b59d

Browse files
committed
feature#7380 Added a mention to workflow_has_marked_place() Twig function (javiereguiluz)
This PR was merged into the master branch.Discussion----------Added a mention to workflow_has_marked_place() Twig functionThisfixes#7365.Commits-------6ecfae2 Added a mention to workflow_has_marked_place() Twig function
2 parents06cc8a4 +6ecfae2 commit5e7b59d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎workflow/usage.rst‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ like this:
148148
The marking store type could be "multiple_state" or "single_state".
149149
A single state marking store does not support a model being on multiple places
150150
at the same time.
151-
151+
152152
..tip::
153153

154154
The ``type`` (default value ``single_state``) and ``arguments`` (default value ``marking``)
@@ -248,3 +248,8 @@ The links below will only be displayed when the action is allowed:
248248
{% else %}
249249
No actions available.
250250
{% endfor %}
251+
252+
{# Check if the object is in some specific place #}
253+
{% if workflow_has_marked_place(post, 'to_review') %}
254+
<p>This post is ready for review.</p>
255+
{% endif %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp