diff options
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/donations.html | 8 | ||||
-rw-r--r-- | tmpl/donations_all.html | 15 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tmpl/donations.html b/tmpl/donations.html index 908a774..d0766e1 100644 --- a/tmpl/donations.html +++ b/tmpl/donations.html @@ -50,6 +50,14 @@ <li><a href="donations_y_[% year %].html">[% year %]: [% donations.by_year.$year.total %] Euros</a></li> [%- END %] </ul> + + <h2>Donations list</h2> + <p> + The list of donations received is available <a href="donations_all.html">on this page</a>. + </p> + + <p> <small>Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %]</small> + </p> </body> </html> diff --git a/tmpl/donations_all.html b/tmpl/donations_all.html new file mode 100644 index 0000000..f08fc9e --- /dev/null +++ b/tmpl/donations_all.html @@ -0,0 +1,15 @@ +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>[% config.sitename %]: Donations list</title> + </head> + <body> + <h1>Mageia.Org donations list</h1> + <ul> + [%- USE date(format='%Y/%m/%d') -%] + [% FOR don IN donations.donations.sort('date').reverse %] + <li><b><a href="donations_p_[% don.pa %].html">[% don.who %]</a></b> donated <b>[% don.amount %]</b> Euros on [% date.format(don.date) %] ([% don.sc_name %])</li> + [%- END -%] + </ul> + </body> +</html> |