{% if visitorData.devices is defined %}

{{ 'DevicesDetection_Devices'|translate }}

{%- for entry in visitorData.devices -%}

{% if entry.devices|length == 1 and 'General_Unknown'|translate in entry.devices[0].name %} {{ 'DevicesDetection_XVisitsFromDevices'|translate('' ~ entry.count ~ '', '' ~ entry.type ~ '')|raw }} {% else %} {{ 'DevicesDetection_XVisitsFromDevices'|translate('' ~ entry.count ~ '', '' ~ entry.type ~ '')|raw }}: {% for device in entry.devices -%} {{ device.name }} ({{ device.count }}x){% if not loop.last %}, {% endif %} {%- endfor -%} {% endif %}

{%- endfor -%}
{% endif %}