blob: 36ff9c8ba1d725162cc10bbed21c2bb961cbd825 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<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="overlayLocation">
<strong>{{ 'Overlay_Location'|translate }}:</strong>
<span data-normalized-url="{{ normalizedUrl }}" data-label="{{ label }}">
{{ location }}
</span>
</div>
<div class="overlaySegment">
<strong>{{ 'General_Segment'|translate }}:</strong>
<span>{{ segmentDescription }}</span>
</div>
{% if data|length > 0 %}
<h2 class="overlayMainMetrics">{{ 'General_MainMetrics'|translate }}</h2>
<ul class="overlayMetrics">
{% for metric in data %}
<li class="overlayMetric">
<span class="overlayMetricValue">{{ metric.value|raw }}</span> {{ metric.name }}
</li>
{% endfor %}
</ul>
<input type="hidden" value="{{ segment }}" id="segment" />
{% else %}
<!-- note: the class overlayNoData is used in Piwik_Overlay.js -->
<div class="overlayNoData">{{ 'Overlay_NoData'|translate }}</div>
{% endif %}
</div>
|