blob: 2421fe979191cf8170729bd55c861cc2aff7109e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<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">
<b>{'Overlay_Location'|translate|escape:'html'}:</b>
<span data-normalized-url="{$normalizedUrl|escape:'html'}" data-label="{$label|escape:'html'}">
{$location|escape:'html'}
</span>
</div>
{if count($data)}
<h2 class="Overlay_MainMetrics">{'Overlay_MainMetrics'|translate|escape:'html'}</h2>
{foreach from=$data item=metric}
<div class="Overlay_Metric">
<span class="Overlay_MetricValue">{$metric.value}</span> {$metric.name|escape:'html'}
</div>
{/foreach}
{else}
<!-- note: the class Overlay_NoData is used in index.js -->
<div class="Overlay_NoData">{'Overlay_NoData'|translate|escape:'html'}</div>
{/if}
</div>
|