aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/index.html
blob: af713fa988712d40b9d3ec5482183bde339cf4a1 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[%- USE date(format='%Y/%m/%d') -%]
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>[% config.sitename %] treasurer infos</title>
    </head>
    <body>
        <h1>treasurer.mageia.og</h1>

        This website provides some informations about Mageia.Org bank accounts
        status.

        <h3>Donations</h3>

        [%- l = 3 -%]
        Last [% l %] donations received :
        <ul>
            [%- i=0 -%]
            [%- FOR don IN donations.donations.sort('date').reverse -%]
            [%- i = i + 1 -%]
            [%- LAST IF i > l -%]
            <li><b><a href="donations_p_[% don.pa %].html">[% don.who %]</a></b> donated <b>[% don.amount %]</b> Euros on [% date.format(don.date) %]</li>
            [%- END -%]
        </ul>

        <a href="donations.html">See more about donations</a>.

        <h3>Accounts status</h3>

        <ul>
            <li>Global balances: [% transactions.balance %] Euros</li>
            [%- FOR ac IN transactions.by_account.values -%]
            <li>[% ac.account %] : [% ac.balance %] Euros</li>
            [%- END -%]
        </ul>

        More details coming soon.

        <h3>Expenses and revenues by category</h3>

        <ul>
            [%- FOR ca IN transactions.by_ca.keys.sort %]
            <li><b>[% transactions.by_ca.$ca.c_name %]</b>: [% transactions.by_ca.$ca.balance %] Euros</li>
            [%- END -%]
        </ul>

        <h3>Grisbi</h3>
        <p>
        Mageia.Org accounts are managed using <a href="http://grisbi.org/">grisbi</a>.
        For more details about Mageia.Org accounts, you can download
        <a href="mageia-accounts.gsb">this file</a>, and open it with grisbi.
        </p>

        <p>
        If you want to receive an email notification when it is updated, you
        can subscribe to the <a href="https://ml.mageia.org/l/info/treasurer-commits">treasurer-commits</a>
        mailing list.
        </p>

        <h3>Questions</h3>
        For any question related to Mageia.Org accounts or donations you can
        send an email to <a href="mailto:treasurer@mageia.org">treasurer@mageia.org</a>.

        <h3>Source code</h3>
        Source code for the tools used to generate this website is available on
        Mageia svn repository :

        <p>
        <code>
            $ svn co <a href="http://svnweb.mageia.org/soft/mga-treasurer/trunk/">
                svn://svn.mageia.org/svn/soft/mga-treasurer/trunk/</a> mga-treasurer
        </code>
        </p>
        <small>Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %]</small>
    </body>
</html>