{% extends 'viewflow/base_module.html' %} {% load i18n material_frontend viewflow viewflow_frontend %} {% block breadcrumbs_items %} {% include 'viewflow/includes/breadcrumb_category.html' %} {{ view.flow_class.process_title }} {% trans 'Dashboard' %} {% endblock %} {% block main_content %}
{% flow_start_actions view.flow_class request.user as start_actions %}
{{ view.flow_class }}
{{ view.flow_class.process_description }}

flow graph
{% if start_actions %} {% flowurl view.flow_class start_actions.0.name as start_url %} {% endif %}
{% for action in start_actions|slice:"1:" %}
{{ action }}
{{ action.task_description|default:"" }}
{% 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 == 26 %}
more_horiz
{% else %}
#{{ task.process_id }}/{{ task.id }}
{{ task.flow_process.summary }}
{{ task.created }}
{% if task.owner %}
{{ task.owner }}
{% endif %}
{% flowurl task 'assign' user=request.user as assign_url %} {% if assign_url %} {% trans 'Assign' %} {% endif %} {% flowurl task 'execute' user=request.user as execute_url %} {% if execute_url %} {% trans 'Execute' %} {% endif %} {% if not assign_url and not unassign_url and not execute_url %} {% trans 'Detail' %} {% 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 == 26 %}
more_horiz
{% else %}
#{{ task.process_id }} - {{ task.flow_task.task_title|default:task.flow_task }}
{{ task.flow_process.summary }}
{{ task.created }}
{% if task.owner %}
{{ task.owner }}
{% endif %}
{% endif %} {% endfor %}
{% if finished|length > 25 %} {% endif %}
{% endif %}
list
{% endblock %}