{% extends "freeform/_layouts/main" %} {% hook "freeform.prepareCpTemplate" %} {% set title = "Dashboard"|t('freeform') %} {% set selectedSubnavItem = "dashboard" %} {% set content %} {% include "freeform/_banners/demo-templates" %} {% include "freeform/_banners/old-freeform" %}
{% include "freeform/dashboard/_charts" %}
{% include "freeform/dashboard/_pie-charts" %}
{% include "freeform/dashboard/_settings" %}
{% if currentUser.can("freeform-submissionsAccess") or currentUser.can("freeform-formsAccess") %}
{% if currentUser.can("freeform-submissionsAccess") %}
{% include "freeform/dashboard/_submissions" %}
{% endif %} {% if currentUser.can("freeform-formsAccess") %}
{% include "freeform/dashboard/_forms" %}
{% endif %}
{% endif %} {% if integrations|length %}
{% include "freeform/dashboard/_integrations" %}
{% endif %}
{% include "freeform/dashboard/_errors" %}
{% endset %}