Fix formatting in federation.tpl
This commit is contained in:
parent
b963e7cc38
commit
910fda2383
|
@ -6,7 +6,7 @@
|
|||
{{if not $autoactive}}
|
||||
<p class="error-message">{{$hint}}</p>
|
||||
{{/if}}
|
||||
<p>{{$legendtext}}
|
||||
<p>{{$legendtext}}</p>
|
||||
<ul>
|
||||
{{foreach $counts as $c}}
|
||||
{{if $c[0]['total'] > 0}}
|
||||
|
@ -14,7 +14,6 @@
|
|||
{{/if}}
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
<script>
|
||||
var FedData = {
|
||||
|
@ -102,7 +101,14 @@ var myDoughnutChart = new Chart(ctx, {
|
|||
</script>
|
||||
<ul class="federation-stats">
|
||||
{{foreach $c[1] as $v}}
|
||||
<li>{{if ($c[0]['platform']==='Friendica' and $version===$v['version']) }}<span class="version-match">{{$v['version']}}</span>{{else}}{{$v['version']}}{{/if}} ({{$v['total']}})</li>
|
||||
<li>
|
||||
{{if ($c[0]['platform']==='Friendica' and $version===$v['version']) }}
|
||||
<span class="version-match">{{$v['version']}}</span>
|
||||
{{else}}
|
||||
{{$v['version']}}
|
||||
{{/if}}
|
||||
({{$v['total']}})
|
||||
</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue