{% extends 'viewflow/workflow/task_base.html' %} {% load i18n viewflow workflow %} {% block breadcrumbs_items %} {{ process.flow_class.process_title }} #{{ process.pk }} {{ task.flow_task }} #{{ task.pk}} {% endblock %} {% block task_content %}

{% trans "Previous tasks" %}

{% for prev_task in task.previous.all %} {{ prev_task.flow_task.task_description|default:prev_task.flow_task }}{% if not forloop.last %}, {% endif %} {% empty %} {% trans "No previous tasks" %} {% endfor %}

{% trans "Next tasks" %}

{% for next_task in task.leading.all %} {{ prev_task.next_task.task_description|default:next_task.flow_task }}{% if not forloop.last %}, {% endif %} {% empty %} {% trans "No next tasks" %} {% endfor %}
{% endblock %} {% block task_actions %} {% for label, url in view.get_actions %} {% trans label %} {% endfor %} {% endblock %}