{% extends "pretixcontrol/organizers/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block inner %}

{% blocktrans with url=webhook.target_url %}Logs for webhook {{ url }}{% endblocktrans %}

{% trans "This page shows all calls to your webhook in the past 30 days." %}

{% for c in calls %}
{% if c.is_retry %} {% else %} {% endif %} {{ c.datetime|date:"SHORT_DATETIME_FORMAT" }}
{{ c.action_type }}
{{ c.execution_time|floatformat:2 }}s
{% if c.success %} {{ c.return_code }} {% else %} {% if c.return_code %} {{ c.return_code }} {% else %} {% trans "Failed" %} {% endif %} {% endif %}
{% trans "Request URL" %}
POST {{ c.target_url }}
{% trans "Request POST body" %}
{{ c.payload }}
{% trans "Response body" %}
{{ c.response_body }}
{% empty %}
{% trans "This webhook did not receive any events in the last 30 days." %}
{% endfor %} {% include "pretixcontrol/pagination.html" %} {% endblock %}