{% extends "base.html" %} {% block title %}{{ _("Action") }} — {{ service_name }}{% endblock %} {% block stylesheets %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% block content %} {% set allowed_language_ids = [] %} {% for language in languages %} {{ allowed_language_ids.append(language.id) or '' }} {% endfor %} {% if not current_user.is_admin %}

{{ _('Warning: Custom Actions are an advanced feature that most users of %(service_name)s will not need. See the User Guide for more information.', service_name=service_name) }}

{% endif %}
{{ action_form.hidden_tag() }}
{% for translation in action_translations.values() %} {% if (translation.language_id == ENGLISH.id or translation.name) and translation.language_id in allowed_language_ids %}
1 %}class="input-group"{% endif %} data-language-id="{{ translation.language_id }}"> {% if allowed_language_ids | length > 1 %} {% if loop.index > 1 %} {{ translation.language.names | get_translated_text }} {% else %} {{ translation.language.names | get_translated_text }} {% endif %} {% endif %}
{% if loop.index == 1 %} {% endif %} {% endif %} {% endfor %}
{% for translation in action_translations.values() %} {% if (translation.language_id == ENGLISH.id or translation.description) and translation.language_id in allowed_language_ids %}
1 %}class="input-group"{% endif %} data-language-id="{{ translation.language_id }}"> {% if allowed_language_ids | length > 1 %} {{ translation.language.names | get_translated_text }} {% endif %}
{% endif %} {% endfor %}
{% for translation in action_translations.values() %} {% if (translation.language_id == ENGLISH.id or translation.short_description) and translation.language_id in allowed_language_ids %}
1 %}class="input-group"{% endif %} data-language-id="{{ translation.language_id }}"> {% if allowed_language_ids | length > 1 %} {{ translation.language.names | get_translated_text }} {% endif %}
{% endif %} {% endfor %}
{% if may_set_user_specific %}
{% endif %}
{% if action_form.type.name in action_form.errors %}
{{ " ".join(action_form.errors[action_form.type.name]) }}
{% endif %}
{% if not config['DISABLE_INSTRUMENTS'] %}
{% else %} {% endif %}
{% if pygments_output %} {{ pygments_output | safe }} {% if error_message is not none %}
Error: {{ error_message }}
{% endif %} {% endif %}
{{ _("Cancel") }}
{% set enabled_languages = [] %} {% for language in languages %} {% if language.enabled_for_user_interface %} {{ enabled_languages.append(language) or '' }} {% endif %} {% endfor %}
{% for language in enabled_languages %}
{% endfor %}
{{ _('Properties') }}
{% for language in enabled_languages %}
{% endfor %}
{% for language in enabled_languages %}
{% if language.lang_code == 'en' %}{% endif %}
{% endfor %}
{% endblock %}