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

{% trans "Webhooks" %}

{% blocktrans trimmed %} This menu allows you to create webhooks to connect pretix to other online services. {% endblocktrans %} {% trans "Read documentation" %}

{% if webhooks|length == 0 %}

{% blocktrans trimmed %} You haven't created any webhooks yet. {% endblocktrans %}

{% trans "Create webhook" %}
{% else %}

{% trans "Create webhook" %}

{% for w in webhooks %} {% endfor %}
{% trans "Target URL" %} {% trans "Events" %}
{% if not w.enabled %}{% endif %} {{ w.target_url }} {% if not w.enabled %}{% endif %} {% if w.all_events %} {% trans "All" %} {% else %}
    {% for e in w.limit_events.all %}
  • {{ e }}
  • {% endfor %}
{% endif %}
{% include "pretixcontrol/pagination.html" %} {% endif %} {% endblock %}