Show detailled statistics per platform
This commit is contained in:
parent
58b4ecd6ae
commit
bdba75ec47
3 changed files with 57 additions and 7 deletions
|
@ -10,7 +10,7 @@
|
|||
<ul>
|
||||
{{foreach $counts as $c}}
|
||||
{{if $c[0]['total'] > 0}}
|
||||
<li>{{$c[0]['platform']}} ({{$c[0]['total']}} • {{$c[0]['month']}} • {{$c[0]['halfyear']}} • {{$c[0]['users']}})</li>
|
||||
<li>{{$c[0]['platform']}} ({{$c[0]['total']}}/{{$c[0]['users']}})</li>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
@ -60,6 +60,17 @@
|
|||
<th><strong>{{$c[0]['total']}}</strong></td>
|
||||
<td>{{$c[0]['network']}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="federation-summary">
|
||||
<ul>
|
||||
{{if $c[0]['month']}}<li>{{$c[0]['monthlbl']}}</li>{{/if}}
|
||||
{{if $c[0]['halfyear']}}<li>{{$c[0]['halfyearlbl']}}</li>{{/if}}
|
||||
{{if $c[0]['users']}}<li>{{$c[0]['userslbl']}}</li>{{/if}}
|
||||
{{if $c[0]['posts']}}<li>{{$c[0]['postslbl']}}</li>{{/if}}
|
||||
{{if $c[0]['postsuserlbl']}}<li>{{$c[0]['postsuserlbl']}}</li>{{/if}}
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="federation-data">
|
||||
<canvas id="{{$c[2]}}Chart" class="federation-network-graph" width="240" height="240"></canvas>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue