{% 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." %}

{% if retry_count %}
{% csrf_token %}

{% blocktranslate trimmed count count=retry_count %} One webhook is scheduled to be retried. {% plural %} {{ count }} webhooks are scheduled to be retried. {% endblocktranslate %}

{% blocktranslate trimmed with minutes=5 %} Webhooks scheduled to be retried in less than {{ minutes }} minutes may not be listed here and can no longer be stopped or expedited. {% endblocktranslate %}

{% endif %} {% 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 %}