{% extends "freeform/_layouts/main" %} {% hook "freeform.prepareCpTemplate" %} {% set selectedSubnavItem = "notifications" %} {% block actionButton %} {% if currentUser.can("freeform-notificationsManage") %}
{% endif %} {% endblock %} {% set title = "Email Notifications"|t('freeform') %} {% set content %} {% if useDbNotifications %}{{ "No notifications found"|t('freeform') }}
| {{ "Name"|t('freeform') }} | {{ "Handle"|t('freeform') }} | {{ "Description"|t('freeform') }} | {# Database based templates #} {% for notification in notifications if not notification.fileBasedTemplate %} |
|---|---|---|---|
| {% if currentUser.can("freeform-notificationsManage") %} {{ notification.name }} {% else %} {{ notification.name }} {% endif %} |
{{ notification.handle|truncater(40) }}
|
{{ notification.description|truncater(80) }} |
| {{ "Name"|t('freeform') }} | {{ "Description"|t('freeform') }} | {{ "File Name"|t('freeform') }} | {# File based templates #} {% for filename, notification in notifications if notification.fileBasedTemplate %} |
|---|---|---|---|
| {% if currentUser.can("freeform-notificationsManage") %} {{ notification.name }} {% else %} {{ notification.name }} {% endif %} | {{ notification.description|truncater(80) }} |
{{ filename }}
|