aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations_by_month.html
blob: 4e93fff9cc84a7a8cfab1650a35e926f2c3f255d (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
30
31
32
33
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>[% config.sitename %]: Donations for [% month %]</title>
        [%- INCLUDE head.html -%]
    </head>
    <body>
        [%- INCLUDE body_top.html -%]
        <h1 id='mgnavt'><a href="index.html">treasurer</a> » <a href="donations.html">donations</a> » month [% month %]</h1>

        <div class="content">
        <h1>Mageia.Org donations for month [% month %]</h1>
        <h2>Summary</h2>
        <ul>
            <li>
            <b>Total</b>: [% donations.by_month.$month.total %] Euros
            </li>
            [% FOR type IN donations.by_month.$month.type.keys %]
            <li>
            <b>[% type %]</b>: [% donations.by_month.$month.type.$type %] Euros
            </li>
            [%- END -%]
        </ul>
        <h2>Donations list</h2>
        <ul>
            [%- USE date(format='%Y/%m/%d') -%]
            [% FOR don IN donations.by_month.$month.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>
        </div>
    </body>
</html>