{% extends "freeform/_layouts/settings" %} {% set title = "Email Marketing"|t("freeform") %} {% block actionButton %} {% if currentUser.can("freeform-settingsAccess") and providers|length > 0 %}
{{ "New Email Marketing Integration"|t('freeform') }}
{% endif %} {% endblock %} {% block content %}

{{ "No Email Marketing integrations exist yet"|t('freeform') }}

{% if integrations|length %} {% for integration in integrations %} {% endfor %}
{{ "Name"|t('freeform') }} {{ "Handle"|t('freeform') }} {{ "Service Provider"|t('freeform') }} {{ "Last Updated"|t('freeform') }}
{% if craft.freeform.pro %} {{ integration.name }} {% else %} {{ integration.name }} {% endif %} {{ integration.handle }} {{ integration.integrationObject.serviceProvider }} {{ integration.lastUpdate|date("Y-m-d H:i") }}
{% endif %} {% if providers|length <= 1 %}
{{ "Upgrade to Pro to enable"|t('freeform') }}
{% endif %} {% endblock %} {% css %} #content { padding: 0; } {% endcss %} {% js %} var adminTable = new Craft.AdminTable({ tableSelector: '#mailing-integrations', noObjectsSelector: '#no-mailing-integrations', newObjectBtnSelector: '#new-mailing-integration', deleteAction: 'freeform/mailing-lists/delete', confirmDeleteMessage: '{{ "Are you sure you want to remove the “{name}” integration?"|t('freeform') }}' }); {% endjs %}