{% 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' %}{% trans "Use drag and drop with the handles to reorder actions." %}
{% with item.get_target_status_url as url %} {% if url %}{% trans "Go to Target" %}{% endif %} {% endwith %} {% if not workflow.is_readonly %} {% trans "Copy" %} {% trans "Delete" %} {% endif %}
{% trans "This status is configured to loop over actions." %} {% if status.after_loop_status and status.after_loop_status != '_previous' %} {% if status.get_loop_target_status %} {% trans "Once done, it will jump to this status:" %} {{ status.get_loop_target_status.name }} {% else %} {% trans "It was configured to jump a to a specific status but it doesn't exist anymore." %} {% endif %} {% elif status.after_loop_status == '_previous' %} {% trans "Once done, it will jump to the status that was previously marked." %} {% else %} {% trans "It is not configured to jump to a specific status once done." %} {% endif %}
{% 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 %}{% trans "Back to workflow main page" %}
{% 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." %}
{% 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 %}