aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations_by_year.html
blob: f81325cb91062080659f09e4d1bd8985481a56df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>[% config.sitename %]: Donations for [% year %]</title>
    </head>
    <body>
        <h1>Mageia.Org donations for year [% year %]</h1>
        <h3>Summary</h3>
        <ul>
            <li>
            <b>Total</b>: [% donations.by_year.$year.total %] Euros
            </li>
            [%- FOR type IN donations.by_year.$year.type.keys -%]
            <li>
            <b>[% type %]</b>: [% donations.by_year.$year.type.$type %] Euros
            </li>
            [%- END -%]
        </ul>
        <h3>Donations for each month</h3>
        <ul>
            [%- FOR month IN donations.by_month.keys.sort -%]
            [%- IF donations.by_month.$month.year == year -%]
            <li><a href="donations_m_[% month %].html">[% month %]: [% donations.by_month.$month.total %] Euros</a></li>
            [%- END -%]
            [%- END -%]
        </ul>
    </body>
</html>