aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations_by_year.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-20 16:42:57 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-20 16:42:57 +0000
commitf4b6d6ae0ee4752127b8fc21369b7c762badccdb (patch)
tree00ab1d3d7f403375013894f85c4aa0360ca4faee /tmpl/donations_by_year.html
parentb9b1f99a64fd4ef819f99844c1e7a5e755d5720a (diff)
downloadmgatres-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/donations_by_year.html')
-rw-r--r--tmpl/donations_by_year.html29
1 files changed, 14 insertions, 15 deletions
diff --git a/tmpl/donations_by_year.html b/tmpl/donations_by_year.html
index c844e1a..be41454 100644
--- a/tmpl/donations_by_year.html
+++ b/tmpl/donations_by_year.html
@@ -24,23 +24,22 @@
<script>
- var barChartData = {
- labels : ["[% donations.by_year.$year.months.sort.join('","') %]"],
- datasets : [
- {
- fillColor : "#151f79",
- strokeColor : "#101333",
- data : [
- [%- FOR month IN donations.by_year.$year.months.sort -%]
- [%- donations.by_month.$month.total -%]
- [%- IF ! loop.last() -%],[%- END -%]
- [%- END %]]
- }
- ]
-
+ var barChartData = {
+ labels : ["[% donations.by_year.$year.months.sort.join('","') %]"],
+ datasets : [
+ {
+ fillColor : "#151f79",
+ strokeColor : "#101333",
+ data : [
+ [%- FOR month IN donations.by_year.$year.months.sort -%]
+ [%- donations.by_month.$month.total -%]
+ [%- IF ! loop.last() -%],[%- END -%]
+ [%- END %]]
}
+ ]
+ }
- var myLine = new Chart(document.getElementById("donations_history_bar_chart").getContext("2d")).Bar(barChartData);
+ var myLine = new Chart(document.getElementById("donations_history_bar_chart").getContext("2d")).Bar(barChartData);
</script>
[% END %]