{% if is_editor %}

Editor

{{ unassigned_articles_count }} Unassigned
{% for element in request.journal.workflow.elements.all %}
{{ element.articles.count }} {{ element|capfirst }}
{% if forloop.counter == 1 or forloop.counter|divisibleby:3 and not forloop.last %}
{% elif forloop.last %}
{% endif %} {% endfor %}
{% endif %}