aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-01 22:28:56 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-01 22:28:56 +0000
commit4a09601150affe7f136a2912c3ffbaee767672df (patch)
treef4ae7e218719ef109772d61271a294f9b9ab46f5
parent8913169afa840dde15e1f52e09eb6155f59c3263 (diff)
downloadwww-4a09601150affe7f136a2912c3ffbaee767672df.tar
www-4a09601150affe7f136a2912c3ffbaee767672df.tar.gz
www-4a09601150affe7f136a2912c3ffbaee767672df.tar.bz2
www-4a09601150affe7f136a2912c3ffbaee767672df.tar.xz
www-4a09601150affe7f136a2912c3ffbaee767672df.zip
Add amount of donations received in the last 30 days
-rw-r--r--en/thank-you/index.php5
-rw-r--r--g/js/donators-list.js1
2 files changed, 6 insertions, 0 deletions
diff --git a/en/thank-you/index.php b/en/thank-you/index.php
index 6551d35d6..04f2206f4 100644
--- a/en/thank-you/index.php
+++ b/en/thank-you/index.php
@@ -37,6 +37,11 @@ include '../../donators.inc.php';
?></p>
<ul id="donlist" class="ty-ppl-list"></ul>
<p>
+ <?php sprintf(_t('%s Euros has been donated to Mageia.Org in the last 30 days. <a href="%s">More details</a>.'),
+ '<span id="donations_30days"></span>', 'http://treasurer.mageia.org/donations.html');
+ ?>
+ </p>
+ <p>
<?php _e('Last update:') ?> <span id="last_update"></span>
</p>
</section>
diff --git a/g/js/donators-list.js b/g/js/donators-list.js
index b5680a37f..2255f1b54 100644
--- a/g/js/donators-list.js
+++ b/g/js/donators-list.js
@@ -420,5 +420,6 @@ $.getJSON(donations_who_url, function(data) {
});
$.getJSON(treasurer_infos_url, function(data) {
+ document.getElementById("donations_30days").innerHTML=data.donations_30days;
document.getElementById("last_update").innerHTML=data.last_update;
});