{% extends "base.html" %} {% block title %}{{ _("Action") }} #{{ action.id }}: {{ action.name | get_translated_text }} — {{ service_name }}{% endblock %} {% block content %}
{% 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 action.disable_create_objects %}{{_("Creating objects with this action has been disabled.") }}
{% elif action.admin_only %}{{_("Only administrators can create objects with this action.") }}
{% endif %} {% if action.type is not none and action.type.admin_only and not current_user.is_admin %}{{_("Only administrators can edit this action.") }}
{% endif %} {% if action.description | get_translated_text %}{{ action.description | get_translated_text }}
{% endif %}