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

Action #{{ action.id }}: {% if action.user is not none %} {{ action.user.name }} / {% endif %} {% if action.instrument is not none %} {{ action.instrument.name }} — {% endif %} {{ action.name }}

{% if action.user_id is not none %}

{% if is_public %}{% else %}{% endif %} This custom action is {% if not is_public %}not {% endif %}public.

{% endif %} {% if action.is_hidden %}

This action has been hidden from action lists.

{% endif %} {% if action.description %}
{% if action.description_is_markdown %}{{ action.description | markdown_to_safe_html(anchor_prefix='action-description') | safe }}{% else %}

{{ action.description }}

{% endif %}
{% endif %} {% with instrument = action.instrument %} {% include "instruments/instrument_scientists.html" %} {% endwith %} {{ action.type.view_text }} {% if not current_user.is_readonly %} {{ action.type.perform_text}} {% endif %} {% if not current_user.is_readonly %} {% if may_edit %} Edit Action {% endif %} {% if may_grant %} Edit Permissions {% endif %} {% if not action.type.admin_only or current_user.is_admin %} Use as Template {% endif %} {% endif %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}