{% extends "wcs/backoffice.html" %} {% load i18n %} {% block appbar-title %}{{ status.name }}{% endblock %} {% block appbar-actions %} {% if not workflow.is_readonly %} {% include "wcs/backoffice/includes/documentation-editor-link.html" %} {% trans "Options" %} {% trans "Change Name" %} {% endif %} {% endblock %} {% block content %} {{ block.super }} {% include "wcs/backoffice/includes/documentation.html" with element=status object=workflow %} {% with visibility_mode=status.get_visibility_mode %} {% if visibility_mode != 'all' %}
{{ status.get_visibility_mode_str }}
{% endif %} {% endwith %} {% if not status.items %}
{% trans "There are not yet any actions in this status." %}
{% else %} {% spaceless %}
{% if workflow.is_readonly %}
{% endspaceless %} {% endif %} {% with source_statuses=view.get_source_statuses source_global_actions=view.get_source_global_actions %} {% if source_statuses or source_global_actions %}

{% trans "Jumps" %}

{% if source_statuses %}

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

{% endif %} {% if source_global_actions %}

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

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

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

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

{% blocktrans trimmed %} 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 %}