questlab/www/analytics/plugins/Insights/templates/insightsOverviewWidget.twig
2016-04-10 18:55:57 +02:00

14 lines
448 B
Twig

{% if reports.getRowsCount %}
{% set allMetadata = reports.getFirstRow.getAllTableMetadata %}
{% set consideredGrowth = 'Insights_TitleConsideredInsightsGrowth'|translate(allMetadata.minGrowthPercentPositive, allMetadata.lastDate|prettyDate(allMetadata.period)) %}
{% else %}
{% set allMetadata = {} %}
{% set consideredGrowth = '' %}
{% endif %}
{% set consideredChanges = '' %}
{% include "@Insights/overviewWidget.twig" %}