From bb091a5986bfcb2477bd6b0a45990d02f681585e Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 13 May 2013 19:54:55 +0000 Subject: Add index page git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8225 5b7c3c08-40e5-403b-9995-ace06908e4af --- mga-treasurer | 1 + tmpl/index.html | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 tmpl/index.html diff --git a/mga-treasurer b/mga-treasurer index 1efe831..786246b 100755 --- a/mga-treasurer +++ b/mga-treasurer @@ -128,6 +128,7 @@ sub output_pages { last_update => $last_update, }; process_template($template, 'donations', $vars, 'donations'); + process_template($template, 'index', $vars, 'index'); } my $r = XMLin($config->{grisbi_file}); diff --git a/tmpl/index.html b/tmpl/index.html new file mode 100644 index 0000000..bddbb92 --- /dev/null +++ b/tmpl/index.html @@ -0,0 +1,53 @@ +[%- USE date(format='%Y/%m/%d') -%] + + + + [% config.sitename %] treasurer infos + + +

treasurer.mageia.og

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

Donations

+ + [%- l = 3 -%] + Last [% l %] donations received : + + + See more about donations. + +

Expenses

+ + Coming soon. + +

Grisbi

+ Mageia.Org accounts are managed using grisbi. + For more details about Mageia.Org accounts, you can download + this file, and open it with grisbi. + +

Questions

+ For any question related to Mageia.Org accounts or donations you can + send an email to treasurer@mageia.org. + +

Source code

+ Source code for the tools used to generate this website is available on + Mageia svn repository : + +

+ + $ svn co + svn://svn.mageia.org/svn/soft/mga-treasurer/trunk/ mga-treasurer + +

+ Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %] + + -- cgit v1.2.1