{% load i18n %} {% comment %} A tool call that waits for a decision. The context: approval (approval_id, tool_name and args_json) and csrf_token. After a decision, the approve view renders the partial "actions" again, with decision set. An override of this template must keep that partial. {% endcomment %}
{{ approval.tool_name }}
{{ approval.args_json }}
{% partialdef actions inline %}
{% if decision == "approved" %} {% translate "Approved" %} {% elif decision == "denied" %} {% translate "Denied" %} {% else %}
{% endif %}
{% endpartialdef %}