{% extends "wcs/backoffice/base.html" %} {% load i18n %} {% block appbar-title %}{{ workflow.name }}{% endblock %} {% block appbar-actions %} {% if not workflow.is_readonly %} {% trans "change category" %} {% trans "change title" %} {% endif %} {% endblock %} {% block content %} {{ view.last_modification_block|safe }}

{% trans "Possible Status" %}

{% if not workflow.possible_status %}

{% trans "There are not yet any status defined in this workflow." %}

{% else %} {% if workflow.is_readonly %}

{% trans "Workflow Functions" %} {% if not workflow.is_readonly %} ({% trans "add function" %}) {% endif %}

{% if not workflow.is_default %}

{% trans "Workflow Variables" %} {% if not workflow.is_readonly %} ({% trans "change" %}) {% endif %}

{% if workflow.variables_formdef %} {% endif %}

{% trans "Global Actions" %} {% if not workflow.is_readonly %} ({% trans "add global action" %}) {% endif %}

{% if workflow.is_readonly %}

{% trans "Criticality Levels" %} {% if not workflow.is_readonly %} ({% trans "add criticality level" %}) {% endif %}

{% if workflow.is_readonly %}

{% trans "Backoffice Fields" %} {% if not workflow.is_readonly %} ({% trans "change" %}) {% endif %}

{% if workflow.backoffice_fields_formdef %} {% endif %}
{% endif %} {# not workflow.is_default #}

{% if workflow.possible_status %}
{{ view.graphviz|safe }}
{% endif %} {% with formdefs=workflow.formdefs carddefs=workflow.carddefs mail_templates=workflow.mail_templates %} {% if formdefs or carddefs or mail_templates %}

{% trans "Usage" %}

{% if formdefs %}

{% trans "This workflow is used for the following forms:" %}

{% endif %} {% if carddefs %}

{% trans "This workflow is used for the following card models:" %}

{% endif %} {% if mail_templates %}

{% trans "The following mail templates are used in this workflow:" %}

{% endif %}
{% endif %} {% endwith %} {% endblock %}