aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations_who.json
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/donations_who.json')
-rw-r--r--tmpl/donations_who.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/tmpl/donations_who.json b/tmpl/donations_who.json
new file mode 100644
index 0000000..0895b4d
--- /dev/null
+++ b/tmpl/donations_who.json
@@ -0,0 +1,11 @@
+[%- USE JSON ( pretty => 1 ) -%]
+[%-
+ SET out = [];
+ FOREACH pa IN donations.by_pa.keys.sort;
+ SET n = {};
+ SET n.who = donations.by_pa.$pa.who;
+ SET n.url = "http://treasurer.mageia.org/donations_p_${pa}.html";
+ out.push(n);
+ END;
+-%]
+[% out.json -%]