aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations.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.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.html')
-rw-r--r--tmpl/donations.html29
1 files changed, 14 insertions, 15 deletions
diff --git a/tmpl/donations.html b/tmpl/donations.html
index 937fb39..908a774 100644
--- a/tmpl/donations.html
+++ b/tmpl/donations.html
@@ -26,23 +26,22 @@
<script>
- var barChartData = {
- labels : ["[% donations.by_year.keys.sort.reverse.join('","') %]"],
- datasets : [
- {
- fillColor : "#151f79",
- strokeColor : "#101333",
- data : [
- [%- FOR year IN donations.by_year.keys.sort.reverse -%]
- [%- donations.by_year.$year.total -%]
- [%- IF ! loop.last() -%],[%- END -%]
- [%- END %]]
- }
- ]
-
+ var barChartData = {
+ labels : ["[% donations.by_year.keys.sort.reverse.join('","') %]"],
+ datasets : [
+ {
+ fillColor : "#151f79",
+ strokeColor : "#101333",
+ data : [
+ [%- FOR year IN donations.by_year.keys.sort.reverse -%]
+ [%- donations.by_year.$year.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>