changeset 60eb45fdf6ba in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=60eb45fdf6ba
description:
        Show donors over last 2 years

        Statements are encoded at worst once a year so showing last 2 years 
give at
        least 1 year of visibility.
diffstat:

 app.py                |  2 +-
 templates/donate.html |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 232c55d51566 -r 60eb45fdf6ba app.py
--- a/app.py    Sat Jan 30 10:13:06 2021 +0100
+++ b/app.py    Sat Jan 30 12:30:45 2021 +0100
@@ -44,7 +44,7 @@
     'https://foundation.tryton.org:9000/foundation/foundation/1/supporters')
 DONATORS_URL = (
     'https://foundation.tryton.org:9000/foundation/foundation/1/donators'
-    '?account=732&account=734')
+    '?account=732&account=734&duration=730')
 DONATIONS_URL = (
     'https://foundation.tryton.org:9000/foundation/foundation/1/donations'
     '?account=732&account=734')
diff -r 232c55d51566 -r 60eb45fdf6ba templates/donate.html
--- a/templates/donate.html     Sat Jan 30 10:13:06 2021 +0100
+++ b/templates/donate.html     Sat Jan 30 12:30:45 2021 +0100
@@ -32,7 +32,7 @@
                 <p>
                 The Tryton Foundation wants to thank individuals and companies 
that finance it's activity.
                 Donors are listed in descending order using an algorithm that 
takes into account
-                both the amount and the age of the donation over the last year.
+                both the amount and the age of the donation over the last 2 
years.
                 </p>
                 <ol>
                     {% for donator in donators %}

Reply via email to