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

{{ _("Action") }} #{{ action.id }}: {% if action.user is not none %} {{ action.user.name }} / {% endif %} {% if action.instrument is not none %} {{ single_translation.instrument_translation.name }} — {% endif %} {{ single_translation.name }}

{% if action.user_id is not none %}

{% if is_public %}{% else %}{% endif %} {% if not is_public %} {{ _("This custom action is not public. ") }} {% else %} {{ _("This custom action is public. ") }} {% endif %}

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

{{_("This action has been hidden from action lists.") }}

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

{{ single_translation.description }}

{% endif %}
{% endif %} {% with instrument = action.instrument %} {% include "instruments/instrument_scientists.html" %} {% endwith %} {{ single_translation.action_type_translation.view_text }} {% if not current_user.is_readonly %} {{ single_translation.action_type_translation.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 %}