Fix formatting in federation.tpl
This commit is contained in:
parent
b963e7cc38
commit
910fda2383
1 changed files with 58 additions and 52 deletions
|
@ -6,7 +6,7 @@
|
||||||
{{if not $autoactive}}
|
{{if not $autoactive}}
|
||||||
<p class="error-message">{{$hint}}</p>
|
<p class="error-message">{{$hint}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<p>{{$legendtext}}
|
<p>{{$legendtext}}</p>
|
||||||
<ul>
|
<ul>
|
||||||
{{foreach $counts as $c}}
|
{{foreach $counts as $c}}
|
||||||
{{if $c[0]['total'] > 0}}
|
{{if $c[0]['total'] > 0}}
|
||||||
|
@ -14,7 +14,6 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
var FedData = {
|
var FedData = {
|
||||||
|
@ -102,7 +101,14 @@ var myDoughnutChart = new Chart(ctx, {
|
||||||
</script>
|
</script>
|
||||||
<ul class="federation-stats">
|
<ul class="federation-stats">
|
||||||
{{foreach $c[1] as $v}}
|
{{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}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue