{% extends "base.html" %} {% block title %} {{ _('Actions') }} — {{ service_name }}{% endblock %} {% block content %}
{% if action_type and action_type.translation.description %}{{ action_type.translation.description }}{% else %}{{ _('Actions represent processes like creating a sample or performing a measurement.') }}{% endif %} {{ _("Read more.") }}
{% if current_user.is_admin and not current_user.is_readonly %} {% if action_type %} {{ _("Create Action") }} {% else %} {{ _("Create Action") }} {% endif %} {% endif %} {% for action in actions %} {% if action.is_hidden %}{{ _("This action has been hidden from action lists.") }}
{% endif %} {% if action.translation.short_description %}{{ action.translation.short_description }}
{% endif %}{{ action.type.translation.view_text }} {% if not current_user.is_readonly %} {{ action.type.translation.perform_text }} {% endif %}
{% endif %} {% endfor %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}