{% extends "freeform/_layouts/settings" %} {% set title = "Webhooks"|t("freeform") %} {% block actionButton %} {% if craft.freeform.pro and currentUser.can("freeform-settingsAccess") %}
{{ "New Webhook"|t('freeform') }}
{% endif %} {% endblock %} {% block content %}

{{ "No Webhooks added yet"|t('freeform') }}

{% if webhooks|length %} {% for webhook in webhooks %} {% endfor %}
{{ "Name"|t('freeform') }} {{ "Provider"|t('freeform') }}
{% if craft.freeform.pro %} {{ webhook.name }} {% else %} {{ webhook.name }} {% endif %} {{ webhook.providerName }}
{% endif %} {% if not craft.freeform.pro %}
{{ "Upgrade to Pro to enable"|t('freeform') }}
{% endif %} {% endblock %} {% css %} #content { padding: 0; } {% endcss %} {% js %} var adminTable = new Craft.AdminTable({ tableSelector: '#webhooks', noObjectsSelector: '#no-webhooks', newObjectBtnSelector: '#new-webhooks', deleteAction: 'freeform/webhooks/delete', confirmDeleteMessage: '{{ "Are you sure you want to remove the “{name}” webhook?"|t('freeform') }}' }); {% endjs %}