viewstatssummary.tpl 837 Bytes
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
{if $viewcount == 0}
Naomi Guyer's avatar
Naomi Guyer committed
2
<p class="lead small-text">{str tag=noviews section=view}</p>
Naomi Guyer's avatar
Naomi Guyer committed
3
4
{/if}
{if $blocktypecounts}
Naomi Guyer's avatar
Naomi Guyer committed
5
6
<h4>{str tag=blockcountsbytype section=admin}: </h4>
{if $viewtypes}
7
8
    <div id="site-stats-graph" class="panel-body site-stats-graph pull-right">
        <canvas class="graphcanvas" id="sitestatsviewtypesgraph"></canvas>
9
10
11
12
13
14
15
16
        <script type="application/javascript">
        {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
17
{/if}
18
<ul class="list-group list-group-lite unstyled pull-left">
Naomi Guyer's avatar
Naomi Guyer committed
19
{foreach from=$blocktypecounts item=item}
Naomi Guyer's avatar
Naomi Guyer committed
20
  <li class="list-group-item">{str tag=title section=blocktype.$item->langsection}: {$item->blocks}</li>
Naomi Guyer's avatar
Naomi Guyer committed
21
22
23
{/foreach}
</ul>
{/if}