{% endif %}
{% set summaryRowId = constant('Piwik\\DataTable::ID_SUMMARY_ROW') %}{# ID_SUMMARY_ROW #}
{% set isSubtable = javascriptVariablesToSet.idSubtable is defined and javascriptVariablesToSet.idSubtable != 0 %}
{% if properties.description %}
{{ properties.description }}
{% endif %}
{% if properties.documentation|default is not empty %}
{% endif %}
{% if properties.onlineGuideUrl|default is not empty %}
{{ 'CoreHome_ReadMoreOnlineGuide'|translate }}{% endif %}
{% if reportLastUpdatedMessage is defined and reportLastUpdatedMessage %}
{{ reportLastUpdatedMessage|raw }}{% endif %}
{% if error is defined %}
{{ error.message }}
{% else %}
{% if properties.show_header_message is defined and properties.show_header_message is not empty %}
{% endif %}
{% if isDataTableEmpty %}
{% if showReportDataWasPurgedMessage is defined and showReportDataWasPurgedMessage %}
{{ 'CoreHome_DataForThisReportHasBeenPurged'|translate(deleteReportsOlderThan) }}
{% elseif showPluginArchiveDisabled is defined and showPluginArchiveDisabled%}
{{ 'CoreHome_DataForThisReportHasBeenDisabled'|translate('
', '')|raw }}
{% elseif properties.no_data_message %}
{{ properties.no_data_message|raw }}
{% else %}
{{ 'CoreHome_ThereIsNoDataForThisReport'|translate }}
{% endif %}
{% else %}
{% include visualizationTemplate %}
{% endif %}
{% if properties.show_footer %}
{% include "@CoreHome/_dataTableFooter.twig" %}
{% endif %}
{% include "@CoreHome/_dataTableJS.twig" with { reportId: properties.report_id } %}
{% endif %}
{% if notifications is not empty and notifications|length %}
{% for notificationId, n in notifications %}
{{ n.message|notification({'id': notificationId, 'type': n.type, 'title': n.title, 'noclear': n.hasNoClear, 'context': n.context, 'raw': n.raw}, false) }}
{% endfor %}
{% endif %}
{% if showCardTableIsEmpty %}