{% extends "wcs/backoffice.html" %} {% load i18n %} {% block appbar-title %}{{ status.name }}{% endblock %} {% block content %} {{ block.super }} {% if status.get_visibility_restricted_roles %}
{% trans "This status is hidden from the user." %} {% if not workflow.is_readonly %} ({% trans "change" %}) {% endif %}
{% endif %} {% if not status.items %}
{% trans "There are not yet any items in this status." %}
{% else %} {% spaceless %}
{% if workflow.is_readonly %}
{% endspaceless %} {% endif %} {% with source_statuses=view.get_source_statuses %} {% if source_statuses %}

{% trans "Jumps" %}

{% trans "This status is reachable from the following status:" %} {% for source in source_statuses %} {{ source.name }}{% if not forloop.last %}, {% endif %} {% endfor %}

{% endif %} {% endwith %}

{% trans "Back to workflow main page" %}

{{ view.graphviz|safe }}
{% endblock %} {% block sidebar-content %} {% if workflow.is_default %}

{% blocktrans %} This is the default workflow, you cannot edit it but you can duplicate it to base your own workflow on it. {% endblocktrans %}

{% elif workflow.is_readonly %}

{% trans "This workflow is readonly." %}

{% else %} {% if status.is_endpoint %}

{% if status.forced_endpoint %} {% trans "This status has been manually set to be considered as terminal." %}
{% trans "Unforce Terminal Status" %} {% elif status.is_endpoint %} {% trans "This status has been automatically evaluated as being terminal." %} {% endif %}

{% endif %}

{% trans "New Action" %}

{{ view.get_new_item_form.render|safe }}
{% endif %} {% endblock %}