diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-20 16:42:57 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-20 16:42:57 +0000 |
commit | f4b6d6ae0ee4752127b8fc21369b7c762badccdb (patch) | |
tree | 00ab1d3d7f403375013894f85c4aa0360ca4faee /tmpl/transactions_by_year.html | |
parent | b9b1f99a64fd4ef819f99844c1e7a5e755d5720a (diff) | |
download | mgatres-f4b6d6ae0ee4752127b8fc21369b7c762badccdb.tar mgatres-f4b6d6ae0ee4752127b8fc21369b7c762badccdb.tar.gz mgatres-f4b6d6ae0ee4752127b8fc21369b7c762badccdb.tar.bz2 mgatres-f4b6d6ae0ee4752127b8fc21369b7c762badccdb.tar.xz mgatres-f4b6d6ae0ee4752127b8fc21369b7c762badccdb.zip |
Fix indentation
git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8344 5b7c3c08-40e5-403b-9995-ace06908e4af
Diffstat (limited to 'tmpl/transactions_by_year.html')
-rw-r--r-- | tmpl/transactions_by_year.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tmpl/transactions_by_year.html b/tmpl/transactions_by_year.html index b363c72..abe7e58 100644 --- a/tmpl/transactions_by_year.html +++ b/tmpl/transactions_by_year.html @@ -109,32 +109,32 @@ <script> - var barChartData = { - labels : ["[% transactions.by_year.$year.months.sort.join('","') %]"], - datasets : [ - { - fillColor : "#151f79", - strokeColor : "#101333", - data : [ - [%- FOR month IN transactions.by_year.$year.months.sort -%] - [%- transactions.by_month.$month.revenues -%] - [%- IF ! loop.last() -%],[%- END -%] - [%- END %]] - }, - { - fillColor : "#e51b1b", - strokeColor : "#f11111", - data: [ - [%- FOR month IN transactions.by_year.$year.months.sort -%] - [%- transactions.by_month.$month.expenses -%] - [%- IF ! loop.last() -%],[%- END -%] - [%- END %]] - } - ] - + var barChartData = { + labels : ["[% transactions.by_year.$year.months.sort.join('","') %]"], + datasets : [ + { + fillColor : "#151f79", + strokeColor : "#101333", + data : [ + [%- FOR month IN transactions.by_year.$year.months.sort -%] + [%- transactions.by_month.$month.revenues -%] + [%- IF ! loop.last() -%],[%- END -%] + [%- END %]] + }, + { + fillColor : "#e51b1b", + strokeColor : "#f11111", + data: [ + [%- FOR month IN transactions.by_year.$year.months.sort -%] + [%- transactions.by_month.$month.expenses -%] + [%- IF ! loop.last() -%],[%- END -%] + [%- END %]] } + ] + + } - var myLine = new Chart(document.getElementById("accounts_history_bar_chart").getContext("2d")).Bar(barChartData); + var myLine = new Chart(document.getElementById("accounts_history_bar_chart").getContext("2d")).Bar(barChartData); </script> |