{% extends "base.html" %} {% block title %}Actions — {{ service_name }}{% endblock %} {% block content %}
Actions represent processes like creating a sample, performing a measurement or running a simulation. Read more.
{% if current_user.is_admin and not current_user.is_readonly %} Create Action {% endif %} {% for action in actions %} {% if action.description_as_html %}{{ action.description_as_html | safe }}{% else %}{{ action.description }}
{% endif %} {% with instrument = action.instrument %} {% include "instruments/instrument_scientists.html" %} {% endwith %}{% if action.type == ActionType.MEASUREMENT %} View Measurements {% if not current_user.is_readonly %} Perform Measurement {% endif %} {% elif action.type == ActionType.SIMULATION %} View Simulations {% if not current_user.is_readonly %} Perform Simulation {% endif %} {% else %} View Samples {% if not current_user.is_readonly %} Create Sample {% endif %} {% endif %}
{% endfor %} {% endblock %}