From 910fda238338434bfbfa4f9542e3f2566db7196a Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 18 Jan 2018 11:24:56 -0500 Subject: [PATCH] Fix formatting in federation.tpl --- view/templates/admin/federation.tpl | 110 +++++++++++++++------------- 1 file changed, 58 insertions(+), 52 deletions(-) diff --git a/view/templates/admin/federation.tpl b/view/templates/admin/federation.tpl index 70e3e9b06c..c92af180c2 100644 --- a/view/templates/admin/federation.tpl +++ b/view/templates/admin/federation.tpl @@ -6,23 +6,22 @@ {{if not $autoactive}}

{{$hint}}

{{/if}} -

{{$legendtext}} +

{{$legendtext}}

-

- - + }], + labels: [ + {{foreach $c[1] as $v}} + '{{$v['version']}}', + {{/foreach}} + ] +}; +var ctx = document.getElementById("{{$c[2]}}Chart").getContext("2d"); +var my{{$c[2]}}DoughnutChart = new Chart(ctx, { + type: 'doughnut', + data: {{$c[2]}}data, + options: { + legend: {display: false}, + animation: {animateRotate: false}, + responsive: false + } +}); + + + {{/if}} {{/foreach}} - \ No newline at end of file +