{% extends '_layouts/cp' %} {% set title = 'Manage Webhooks'|t('webhooks') %} {% set selectedSubnavItem = 'manage' %} {% from '_includes/forms' import lightswitch %} {% block actionButton %} {% set newWebhookUrl = url('webhooks/new', (groupId is defined ? { groupId: groupId } : null)) %} {{ "New webhook"|t('webhooks') }} {% endblock %} {% block sidebar %}
{% endblock %} {% block content %} {% if webhooks|length %}{{ 'Webhook'|t('webhooks') }} | {{ 'Enabled'|t('webhooks') }} |
---|---|
{{ webhook.name }} | {{ lightswitch({ id: 'enabled', name: 'enabled', on: webhook.enabled }) }} |
{{ 'No webhooks exist yet.'|t('webhooks') }}