diff options
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/donations_who.json | 11 | ||||
-rw-r--r-- | tmpl/index.html | 2 |
2 files changed, 13 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 -%] diff --git a/tmpl/index.html b/tmpl/index.html index 11e8382..e18c3fe 100644 --- a/tmpl/index.html +++ b/tmpl/index.html @@ -175,6 +175,8 @@ <ul> <li><a href="index.json">index.json</a>: balance, donations received in the last 30 days, and the list of the last 10 donations</li> + <li><a href="donations_who.json">donations_who.json</a>: list of people + who donated money to Mageia.Org.</li> </ul> <h2>Grisbi</h2> |