{% extends "base.html" %} {% block title %} {{ _('Actions') }} — {{ service_name }}{% endblock %} {% block content %}
{% if action_type and action_type.description %}{{ action_type.description | get_translated_text(default='—') }}{% else %}{{ _('Actions represent processes like creating a sample or performing a measurement.') }}{% endif %} {{ _("Read more.") }}
{% if (current_user.is_admin or user_is_instrument_scientist) and not current_user.is_readonly and (not action_type or not action_type.admin_only or current_user.is_admin) %} {% if action_type and filter_topic_infos %} {{ _("Create Action") }} {% elif action_type %} {{ _("Create Action") }} {% elif filter_topic_ids %} {{ _("Create Action") }} {% else %} {{ _("Create Action") }} {% endif %} {% endif %} {% if not config['DISABLE_TOPICS'] and topics %} {{ _('Filters') }}{{ _("This action has been hidden from action lists.") }}
{% endif %} {% if not config['DISABLE_TOPICS'] and action.topics %}{{ _('Topics') }}: {% for topic in action.topics %} {{ topic.name | get_translated_text }} {% endfor %}
{% endif %} {% if action.short_description | get_translated_text %}{{ action.short_description | get_translated_text }}
{% endif %}{{ action.type.view_text | get_translated_text(default=_('View Objects')) if action.type_id else _('View Objects') }} {% if not current_user.is_readonly and action.type_id is not none and action.schema is not none and (not action.disable_create_objects) and (not action.admin_only or current_user.is_admin) %} {{ action.type.perform_text | get_translated_text(default=_('Create Object')) if action.type_id else _('Create Object') }} {% endif %}
{% endif %} {% endfor %} {% endblock %} {% block stylesheets %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}