aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations_by_year.html
blob: 8550519b507d164f56625e760eb7b715d4b18600 (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
29
[% SET login = users.$user.uid.0 %]
<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_[% month %].html">[% month %]: [% donations.by_month.$month.total %] Euros</a></li>
            [%- END -%]
            [%- END -%]
        </ul>
    </body>
</html>