Welcome to mirror list, hosted at ThFree Co, Russian Federation.

renderSidebar.twig « templates « Overlay « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 09d8cf0d40131fec2bd19f09d1a8ffe8d7b6e7b5 (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
<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>

    {% 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>