{% extends request.resolver_match.app.base_template_name|default:'viewflow/workflow/base_page.html' %} {% load i18n viewflow workflow %} {% block content %}
{{ view.flow_class }}
{% if view.flow_class.process_description %}
{{ view.flow_class.process_description }}
{% endif %}
×
flow graph
{% for node_data in start_nodes %} {% if node_data.can_execute %}
{{ node_data.node.task_title }}
{# TODO Dropdown menu with other start actions #} {% else %}
{% endif %} {% endfor %}
{% for column_data in columns %}
{{ column_data.node.task_title|default:column_data.node }}
{% for task in column_data.tasks %} {% if forloop.last and forloop.counter == view.MAX_ROWS %}
more_horiz
{% else %}

#{{ task.process_id}}/{{ task.pk }}

{{ task.title }}

{{ task.brief }}

{{ task.created }}
{% if task.owner %}
{{ task.owner }}
{% endif %} {%if task|can_execute:request.user %}
{% trans 'Execute'%}
{% elif task|can_assign:request.user %}
{% trans 'Assign'%}
{% elif task|can_view:request.user %}
{% trans 'View'%}
{% endif %}
{% endif %} {% endfor %}
{% if column_data.tasks|length > 25 %} {% endif %}
{% endfor %} {% if end_nodes %}
{% trans 'Finished' %}
{% for task in finished %} {% if forloop.last and forloop.counter == view.MAX_ROWS %}
more_horiz
{% else %}

#{{ task.process_id}}/{{ task.pk }}

{{ task.brief }}

{{ task.created }}
{% trans 'View'%}
{% endif %} {% endfor %}
{% endif %}
list
{% endblock %}