{{ graph.name|trans }}

{% if graph.data|length > 0 %}
{# We need to dynamically create the table headers based on the result set #} {% for key, value in graph.data[0]|filter((v, k) => 'id' != k) %} {% endfor %} {% for rowKey, row in graph.data %} {% if row['id']|default(null) is not null %} {% for cellName, cell in row %} {% if graph.data[0].id is defined and 'title' == cellName and graph.link is defined %} {% elseif 'id' != cellName %} {% endif %} {% endfor %} {% endif %} {% endfor %}
{{ key|capitalize }}
{{ cell }} {% if cell is numeric %} {{ cell }} {% else %} {{ assetMakeLinks(cell) }} {% endif %}
{% else %}

{{ 'mautic.report.table.noresults'|trans }}

{% endif %}