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

sparklines.tpl « templates « VisitsSummary « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a0302f407a900cb7d3bcd2ed2ae5185da4e94a66 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<div id='leftcolumn'>
    <div class="sparkline">
        {sparkline src=$urlSparklineNbVisits}
        {'VisitsSummary_NbVisits'|translate:"<strong>$nbVisits</strong>"}{if $displayUniqueVisitors},
            {'VisitsSummary_NbUniqueVisitors'|translate:"<strong>$nbUniqVisitors</strong>"}{/if}
    </div>
    <div class="sparkline">
        {sparkline src=$urlSparklineAvgVisitDuration}
        {assign var=averageVisitDuration value=$averageVisitDuration|sumtime}
        {'VisitsSummary_AverageVisitDuration'|translate:"<strong>$averageVisitDuration</strong>"}
    </div>
    <div class="sparkline">
        {sparkline src=$urlSparklineBounceRate}
        {'VisitsSummary_NbVisitsBounced'|translate:"<strong>$bounceRate%</strong>"}
    </div>
    <div class="sparkline">
        {sparkline src=$urlSparklineActionsPerVisit}
        {'VisitsSummary_NbActionsPerVisit'|translate:"<strong>$nbActionsPerVisit</strong>"}
    </div>
</div>

<div id='rightcolumn'>
    {if $showOnlyActions}
        <div class="sparkline">
            {sparkline src=$urlSparklineNbActions}
            {'VisitsSummary_NbActionsDescription'|translate:"<strong>$nbActions</strong>"}
        </div>
    {else}
        <div class="sparkline">
            {sparkline src=$urlSparklineNbPageviews}
            {'VisitsSummary_NbPageviewsDescription'|translate:"<strong>$nbPageviews</strong>"|trim},
            {'VisitsSummary_NbUniquePageviewsDescription'|translate:"<strong>$nbUniquePageviews</strong>"}
        </div>
        {if $displaySiteSearch}
            <div class="sparkline">
                {sparkline src=$urlSparklineNbSearches}
                {'VisitsSummary_NbSearchesDescription'|translate:"<strong>$nbSearches</strong>"|trim},
                {'VisitsSummary_NbKeywordsDescription'|translate:"<strong>$nbKeywords</strong>"}
            </div>
        {/if}
        <div class="sparkline">
            {sparkline src=$urlSparklineNbDownloads}
            {'VisitsSummary_NbDownloadsDescription'|translate:"<strong>$nbDownloads</strong>"|trim},
            {'VisitsSummary_NbUniqueDownloadsDescription'|translate:"<strong>$nbUniqueDownloads</strong>"}
        </div>
        <div class="sparkline">
            {sparkline src=$urlSparklineNbOutlinks}
            {'VisitsSummary_NbOutlinksDescription'|translate:"<strong>$nbOutlinks</strong>"|trim},
            {'VisitsSummary_NbUniqueOutlinksDescription'|translate:"<strong>$nbUniqueOutlinks</strong>"}
        </div>
    {/if}
    <div class="sparkline">
        {sparkline src=$urlSparklineMaxActions}
        {'VisitsSummary_MaxNbActions'|translate:"<strong>$maxActions</strong>"}
    </div>
</div>
<div style="clear:both;"></div>

{include file="CoreHome/templates/sparkline_footer.tpl"}