blob: 05348864c5820babd56323b8d54d71a18548cf28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{% if visitorData.devices is defined %}
<div class="visitor-profile-summary visitor-profile-devices">
<h1>{{ 'DevicesDetection_Devices'|translate }}</h1>
<div>
{%- for type,entry in visitorData.devices -%}
<p>
<img height="16" src="{{ entry.icon }}" />
{% if entry.devices|length == 1 and 'General_Unknown'|translate in entry.devices[0].name %}
<span>{{ 'DevicesDetection_XVisitsFromDevices'|translate('<strong>' ~ entry.count ~ '</strong>', '<strong>' ~ type ~ '</strong>')|raw }}
{% else %}
<span>{{ 'DevicesDetection_XVisitsFromDevices'|translate('<strong>' ~ entry.count ~ '</strong>', '<strong>' ~ type ~ '</strong>')|raw }}:
{% for device in entry.devices -%}
{{ device.name }} ({{ device.count }}x){% if not loop.last %}, {% endif %}
{%- endfor -%}
</span>
{% endif %}
</p>
{%- endfor -%}
</div>
</div>
{% endif %}
|