viewstatssummary.tpl 783 Bytes
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
{if $viewcount == 0}
2
<p class="lead small-text">{str tag=noviews1 section=view}</p>
Naomi Guyer's avatar
Naomi Guyer committed
3
4
{/if}
{if $blocktypecounts}
5
6
7
    <h4>{str tag=blockcountsbytype section=admin}</h4>
    <ul class="list-group list-group-lite unstyled">
    {foreach from=$blocktypecounts item=item}
8
        <li class="list-group-item">{$item->title}: {$item->blocks}</li>
9
10
    {/foreach}
    </ul>
11
12
{/if}
{if $viewtypes}
13
14
    <h4>{str tag=viewsbytype section=admin}</h4>
    <div class="panel-body">
15
        <canvas class="graphcanvas" id="sitestatsviewtypesgraph"></canvas>
16
        <script>
17
18
19
20
21
22
23
        {literal}
        jQuery(function() {
            fetch_graph_data({'id':'sitestatsviewtypesgraph','type':'doughnut','graph':'view_type_graph_render'});
        });
        {/literal}
        </script>
    </div>
Naomi Guyer's avatar
Naomi Guyer committed
24
{/if}