{% macro panel(base, hooks, csrf, what) %}

Webhooks

{{ what }}

{% if hooks.is_empty() %}

None.

{% else %} {% for h in hooks %}{% endfor %}
URLEventsActive
{{ h.url }}{{ h.events }}{% if h.active %}yes{% else %}no{% endif %} deliveries
{% endif %}
{% endmacro %}