aboutsummaryrefslogtreecommitdiffstats
path: root/g
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-19 21:45:24 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-19 21:45:24 +0000
commit9d2f9bec07faa7ee4b1772c75cdbb687cdde249b (patch)
tree86e9097dbe5319e16f317f9829d6b39463b5557e /g
parent182750d3107f1143ac27e96e7baf79d353767d01 (diff)
downloadwww-9d2f9bec07faa7ee4b1772c75cdbb687cdde249b.tar
www-9d2f9bec07faa7ee4b1772c75cdbb687cdde249b.tar.gz
www-9d2f9bec07faa7ee4b1772c75cdbb687cdde249b.tar.bz2
www-9d2f9bec07faa7ee4b1772c75cdbb687cdde249b.tar.xz
www-9d2f9bec07faa7ee4b1772c75cdbb687cdde249b.zip
donate: add donations total and current balance
Diffstat (limited to 'g')
-rw-r--r--g/js/treasurer.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/g/js/treasurer.js b/g/js/treasurer.js
index 615b0c1ef..13654ce2a 100644
--- a/g/js/treasurer.js
+++ b/g/js/treasurer.js
@@ -425,3 +425,10 @@ function thankyou_page() {
document.getElementById("last_update").innerHTML=data.last_update;
});
}
+
+function donate_page() {
+ $.getJSON(treasurer_infos_url, function(data) {
+ document.getElementById("donations_total").innerHTML=data.donations_total;
+ document.getElementById("balance").innerHTML=data.balance;
+ });
+}