{% extends "wcs/backoffice.html" %} {% load i18n %} {% block appbar-title %}{{ action.name }}{% endblock %} {% block body %}

{% trans "Actions" %}

{% if not action.items %}

{% trans "There are not yet any actions." %}

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

{% trans "Use drag and drop with the handles to reorder actions." %}

{% endif %} {% endif %}

{% trans "Triggers" %}

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

{% 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." %}

{{ view.snapshot_info_block|safe }} {% else %}

{% trans "New Item" %}

{{ view.get_new_item_form.render|safe }}

{% trans "New Trigger" %}

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