Need help with jinja2 field for accepted entries count #3615
-
. |
Beta Was this translation helpful? Give feedback.
Answered by
gazpachoking
Nov 28, 2022
Replies: 2 comments
-
If you are using the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
redcat42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are using the
task
section of the notify plugin the template will be rendered once per task, rather than once per entry. You can then use the special variabletask
in your template. To get the number of accepted entries in your template it would be{{ task.accepted|length }}
. Looks like our documentation is a bit lacking on this at the moment.