{% extends "base.html" %} {% block title %}Instrument #{{ instrument.id }}: {{ instrument.name }} — {{ service_name }}{% endblock %} {% block content %}

{{ instrument.name }}

{{ instrument.description }}

{% include "instruments/instrument_scientists.html" %} {% if not current_user.is_readonly %} {% if current_user.is_admin or current_user in instrument.responsible_users %} Edit Instrument {% endif %} {% endif %} {% for action in instrument.actions %}

{{ action.name }}

{{ action.description }}

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