blob: c082f05cb8a81f40ea915c3d958779446a95dbe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<div> <!-- Wrapper is needed that the html can be jqueryfied -->
<!-- This div is removed by JS and the content is put in the location div -->
<div class="Overlay_Location">
<strong>{{ 'Overlay_Location'|translate }}:</strong>
<span data-normalized-url="{{ normalizedUrl }}" data-label="{{ label }}">
{{ location }}
</span>
</div>
{% if data|length > 0 %}
<h2 class="Overlay_MainMetrics">{{ 'General_MainMetrics'|translate }}</h2>
{% for metric in data %}
<div class="Overlay_Metric">
<span class="Overlay_MetricValue">{{ metric.value|raw }}</span> {{ metric.name }}
</div>
{% endfor %}
{% else %}
<!-- note: the class Overlay_NoData is used in Piwik_Overlay.js -->
<div class="Overlay_NoData">{{ 'Overlay_NoData'|translate }}</div>
{% endif %}
</div>
|