From 46253bc51e3f251513b0149f0362021c86111019 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 12 Jul 2013 10:44:08 +0000 Subject: Fix indentation git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8610 5b7c3c08-40e5-403b-9995-ace06908e4af --- tmpl/donations.html | 108 +++++----- tmpl/donations_all.html | 14 +- tmpl/donations_by_month.html | 38 ++-- tmpl/donations_by_pa.html | 38 ++-- tmpl/donations_by_year.html | 78 ++++---- tmpl/donations_who.html | 12 +- tmpl/index.html | 426 ++++++++++++++++++++-------------------- tmpl/transactions_by_ac.html | 44 ++--- tmpl/transactions_by_ca.html | 50 ++--- tmpl/transactions_by_month.html | 74 +++---- tmpl/transactions_by_pa.html | 50 ++--- tmpl/transactions_by_year.html | 306 ++++++++++++++--------------- 12 files changed, 619 insertions(+), 619 deletions(-) diff --git a/tmpl/donations.html b/tmpl/donations.html index ab53424..dd17368 100644 --- a/tmpl/donations.html +++ b/tmpl/donations.html @@ -10,70 +10,70 @@

treasurer » donations

-
- [%- USE date(format='%Y/%m/%d') -%] -

Mageia.Org donations

- [% donations.total_30 %] Euros have been donated to Mageia.org in the last 30 days. -
+
+ [%- USE date(format='%Y/%m/%d') -%] +

Mageia.Org donations

+ [% donations.total_30 %] Euros have been donated to Mageia.org in the last 30 days. +
-
- [%- l = 10 -%] -

Last [% l %] donations RSS feed

-
    - [%- i=0 -%] - [%- FOR don IN donations.donations.sort('date').reverse -%] - [%- i = i + 1 -%] - [%- LAST IF i > l -%] -
  • [% don.who %] donated [% don.amount %] Euros on [% date.format(don.date) %]
  • - [%- END -%] -
-
+
+ [%- l = 10 -%] +

Last [% l %] donations RSS feed

+
    + [%- i=0 -%] + [%- FOR don IN donations.donations.sort('date').reverse -%] + [%- i = i + 1 -%] + [%- LAST IF i > l -%] +
  • [% don.who %] donated [% don.amount %] Euros on [% date.format(don.date) %]
  • + [%- END -%] +
+
-
-

Donations per year

+
+

Donations per year

- + - + - -
+ +
-
-

Donations list

-

- The list of donations received is available on this page. -

-
+
+

Donations list

+

+ The list of donations received is available on this page. +

+
-
-

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

-
+
+

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

+
diff --git a/tmpl/donations_all.html b/tmpl/donations_all.html index fbd9c2c..e9171e7 100644 --- a/tmpl/donations_all.html +++ b/tmpl/donations_all.html @@ -9,13 +9,13 @@

treasurer » donations » all

-

Mageia.Org donations list

- +

Mageia.Org donations list

+
diff --git a/tmpl/donations_by_month.html b/tmpl/donations_by_month.html index 4e93fff..68c8fd7 100644 --- a/tmpl/donations_by_month.html +++ b/tmpl/donations_by_month.html @@ -9,25 +9,25 @@

treasurer » donations » month [% month %]

-

Mageia.Org donations for month [% month %]

-

Summary

- -

Donations list

- +

Mageia.Org donations for month [% month %]

+

Summary

+ +

Donations list

+
diff --git a/tmpl/donations_by_pa.html b/tmpl/donations_by_pa.html index faddf48..d0e6f2c 100644 --- a/tmpl/donations_by_pa.html +++ b/tmpl/donations_by_pa.html @@ -9,25 +9,25 @@

treasurer » donations » who » [% who %]

-

Mageia.Org donations received from [% who %]

-

Summary

- -

Donations list

- +

Mageia.Org donations received from [% who %]

+

Summary

+ +

Donations list

+
diff --git a/tmpl/donations_by_year.html b/tmpl/donations_by_year.html index 7d26e7c..ffbcdaf 100644 --- a/tmpl/donations_by_year.html +++ b/tmpl/donations_by_year.html @@ -10,52 +10,52 @@

treasurer » donations » year [% year %]

-

Mageia.Org donations for year [% year %]

-

Summary

- -

Donations for each month

+

Mageia.Org donations for year [% year %]

+

Summary

+ +

Donations for each month

- [% IF donations.by_year.$year.months.size > 1 %] - + [% IF donations.by_year.$year.months.size > 1 %] + - - [% END %] + + [% END %] - +
diff --git a/tmpl/donations_who.html b/tmpl/donations_who.html index 3d1f6e0..5027585 100644 --- a/tmpl/donations_who.html +++ b/tmpl/donations_who.html @@ -9,13 +9,13 @@

treasurer » donations » who

-

List of people who donated money to Mageia.Org

+

List of people who donated money to Mageia.Org

- +
diff --git a/tmpl/index.html b/tmpl/index.html index e6f4f4b..2f1dc38 100644 --- a/tmpl/index.html +++ b/tmpl/index.html @@ -11,226 +11,226 @@

treasurer.mageia.og

-
-

Donations

- - RSS feed - [%- l = 3 -%] - Last [% l %] donations received : -
    - [%- i=0 -%] - [%- FOR don IN donations.donations.sort('date').reverse -%] - [%- i = i + 1 -%] - [%- LAST IF i > l -%] -
  • [% don.who %] donated [% don.amount %] Euros on [% date.format(don.date) %]
  • - [%- END -%] -
- - See more about donations. -
- -
-

Accounts status

- -
    -
  • Global balances: [% transactions.balance %] Euros
  • - [%- FOR ac IN transactions.by_ac.keys -%] -
  • [% transactions.by_ac.$ac.account %]: [% transactions.by_ac.$ac.balance %] Euros
  • - [%- END -%] -
-
- -
-

Expenses and revenues by category

- - [%- - SET ca_expenses = []; - SET ca_expenses_names = []; - SET ca_revenues = []; - SET ca_revenues_names = []; - - FOREACH ca IN transactions.by_ca.keys.sort; - IF transactions.by_ca.$ca.expenses != 0; - ca_expenses.push(ca); - ca_expenses_names.push(transactions.by_ca.$ca.c_name); +
+

Donations

+ + RSS feed + [%- l = 3 -%] + Last [% l %] donations received : +
    + [%- i=0 -%] + [%- FOR don IN donations.donations.sort('date').reverse -%] + [%- i = i + 1 -%] + [%- LAST IF i > l -%] +
  • [% don.who %] donated [% don.amount %] Euros on [% date.format(don.date) %]
  • + [%- END -%] +
+ + See more about donations. +
+ +
+

Accounts status

+ +
    +
  • Global balances: [% transactions.balance %] Euros
  • + [%- FOR ac IN transactions.by_ac.keys -%] +
  • [% transactions.by_ac.$ac.account %]: [% transactions.by_ac.$ac.balance %] Euros
  • + [%- END -%] +
+
+ +
+

Expenses and revenues by category

+ + [%- + SET ca_expenses = []; + SET ca_expenses_names = []; + SET ca_revenues = []; + SET ca_revenues_names = []; + + FOREACH ca IN transactions.by_ca.keys.sort; + IF transactions.by_ca.$ca.expenses != 0; + ca_expenses.push(ca); + ca_expenses_names.push(transactions.by_ca.$ca.c_name); + END; + IF transactions.by_ca.$ca.revenues != 0; + ca_revenues.push(ca); + ca_revenues_names.push(transactions.by_ca.$ca.c_name); + END; END; - IF transactions.by_ca.$ca.revenues != 0; - ca_revenues.push(ca); - ca_revenues_names.push(transactions.by_ca.$ca.c_name); - END; - END; - -%] - -

Expenses

- [% IF ca_expenses.size > 1 %] - - - - [% END %] - - -

Revenues

- [% IF ca_revenues.size > 1 %] - - - + [% END %] + + +

Revenues

+ [% IF ca_revenues.size > 1 %] + + + + [% END %] + +
+ +
+

Accounts history

+ + + + - [% END %] - -
- -
-

Accounts history

+ - - - - -
    - [%- FOR year IN transactions.by_year.keys.sort.reverse -%] -
  • [%- year -%] - Expenses: [% transactions.by_year.$year.expenses %] Revenues: [% transactions.by_year.$year.revenues %]
  • - [%- END -%] -
-
- -
-

Who donated money

- - You can find a list of people who donated to Mageia.Org. -
- - - -
-

JSON data

- - Some data is available in json format : -
    -
  • index.json: balance, donations received in - the last 30 days, time of last update and the list of the last 10 - donations
  • -
  • donations_who.json: list of people - who donated money to Mageia.Org.
  • -
-
- -
-

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. -

- -

- If you want to receive an email notification when it is updated, you - can subscribe to the treasurer-commits - mailing list. -

-
- -
-

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') %] -
+
  • [%- year -%] - Expenses: [% transactions.by_year.$year.expenses %] Revenues: [% transactions.by_year.$year.revenues %]
  • + [%- END -%] + +
    + +
    +

    Who donated money

    + + You can find a list of people who donated to Mageia.Org. +
    + + + +
    +

    JSON data

    + + Some data is available in json format : +
      +
    • index.json: balance, donations received in + the last 30 days, time of last update and the list of the last 10 + donations
    • +
    • donations_who.json: list of people + who donated money to Mageia.Org.
    • +
    +
    + +
    +

    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. +

    + +

    + If you want to receive an email notification when it is updated, you + can subscribe to the treasurer-commits + mailing list. +

    +
    + +
    +

    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') %] +
    diff --git a/tmpl/transactions_by_ac.html b/tmpl/transactions_by_ac.html index caf0cbb..ea4aee9 100644 --- a/tmpl/transactions_by_ac.html +++ b/tmpl/transactions_by_ac.html @@ -9,28 +9,28 @@

    treasurer » [% account %]

    -

    Mageia.Org transactions for [% account %]

    -

    Summary

    - -

    Details

    - - - - - - - - - - [%- USE date(format='%Y/%m/%d') -%] - [% FOR tra IN transactions.by_ac.$ac.transactions.sort('date').reverse %] - [%- INCLUDE tra_row.html %] - [%- END -%] -
    DateAmountAccountWhoNotesCategory
    +

    Mageia.Org transactions for [% account %]

    +

    Summary

    + +

    Details

    + + + + + + + + + + [%- USE date(format='%Y/%m/%d') -%] + [% FOR tra IN transactions.by_ac.$ac.transactions.sort('date').reverse %] + [%- INCLUDE tra_row.html %] + [%- END -%] +
    DateAmountAccountWhoNotesCategory
    diff --git a/tmpl/transactions_by_ca.html b/tmpl/transactions_by_ca.html index 4e28cda..49b6804 100644 --- a/tmpl/transactions_by_ca.html +++ b/tmpl/transactions_by_ca.html @@ -9,31 +9,31 @@

    treasurer » category : [% c_name %]

    -

    Mageia.Org transactions for category [% c_name %]

    -

    Summary

    - -

    Details

    - - - - - - - - - - [%- USE date(format='%Y/%m/%d') -%] - [% FOR tra IN transactions.by_ca.$ca.transactions.sort('date').reverse %] - [%- INCLUDE tra_row.html %] - [%- END -%] -
    DateAmountAccountWhoNotesCategory
    +

    Mageia.Org transactions for category [% c_name %]

    +

    Summary

    + +

    Details

    + + + + + + + + + + [%- USE date(format='%Y/%m/%d') -%] + [% FOR tra IN transactions.by_ca.$ca.transactions.sort('date').reverse %] + [%- INCLUDE tra_row.html %] + [%- END -%] +
    DateAmountAccountWhoNotesCategory
    diff --git a/tmpl/transactions_by_month.html b/tmpl/transactions_by_month.html index 926b9de..e9d48b9 100644 --- a/tmpl/transactions_by_month.html +++ b/tmpl/transactions_by_month.html @@ -9,43 +9,43 @@

    treasurer » month : [% month %]

    -

    Mageia.Org accounts transactions for month [% month %]

    -

    Summary

    - -

    By category

    - -

    Details

    - - - - - - - - - - [%- USE date(format='%Y/%m/%d') -%] - [%- FOR tra IN transactions.by_month.$month.transactions.sort('date').reverse %] - [%- INCLUDE tra_row.html %] - [%- END -%] -
    DateAmountAccountWhoNotesCategory
    +

    Mageia.Org accounts transactions for month [% month %]

    +

    Summary

    + +

    By category

    + +

    Details

    + + + + + + + + + + [%- USE date(format='%Y/%m/%d') -%] + [%- FOR tra IN transactions.by_month.$month.transactions.sort('date').reverse %] + [%- INCLUDE tra_row.html %] + [%- END -%] +
    DateAmountAccountWhoNotesCategory
    diff --git a/tmpl/transactions_by_pa.html b/tmpl/transactions_by_pa.html index 9611515..62ea6a6 100644 --- a/tmpl/transactions_by_pa.html +++ b/tmpl/transactions_by_pa.html @@ -9,31 +9,31 @@

    treasurer » who : [% who %]

    -

    Mageia.Org transactions for [% who %]

    -

    Summary

    - -

    Details

    - - - - - - - - - - [%- USE date(format='%Y/%m/%d') -%] - [% FOR tra IN transactions.by_pa.$pa.transactions.sort('date').reverse %] - [%- INCLUDE tra_row.html %] - [%- END -%] -
    DateAmountAccountWhoNotesCategory
    +

    Mageia.Org transactions for [% who %]

    +

    Summary

    + +

    Details

    + + + + + + + + + + [%- USE date(format='%Y/%m/%d') -%] + [% FOR tra IN transactions.by_pa.$pa.transactions.sort('date').reverse %] + [%- INCLUDE tra_row.html %] + [%- END -%] +
    DateAmountAccountWhoNotesCategory
    diff --git a/tmpl/transactions_by_year.html b/tmpl/transactions_by_year.html index d82127b..4c6d373 100644 --- a/tmpl/transactions_by_year.html +++ b/tmpl/transactions_by_year.html @@ -10,162 +10,162 @@

    treasurer » year : [% year %]

    -

    Mageia.Org accounts transactions for year [% year %]

    -

    Summary

    - -

    By category

    - - [%- - SET ca_expenses = []; - SET ca_expenses_names = []; - SET ca_revenues = []; - SET ca_revenues_names = []; - - IF transactions.by_year.$year.ca_revenues; - FOREACH ca IN transactions.by_year.$year.ca_revenues.keys; - ca_revenues.push(ca); - ca_revenues_names.push(transactions.by_ca.$ca.c_name); - END; - END; - IF transactions.by_year.$year.ca_expenses; - FOREACH ca IN transactions.by_year.$year.ca_expenses.keys; - ca_expenses.push(ca); - ca_expenses_names.push(transactions.by_ca.$ca.c_name); - END; - END; - -%] -

    Expenses

    - [% IF ca_expenses.size > 1 %] - - - - [% END %] - - -

    Revenues

    - [% IF ca_revenues.size > 1 %] - - - + [% END %] + + +

    Revenues

    + [% IF ca_revenues.size > 1 %] + + + - [% END %] - - -

    Monthly reports

    - - - - + [% END %] + + +

    Monthly reports

    + + + + - - -

    Details

    - - - - - - - - - - [%- USE date(format='%Y/%m/%d') -%] - [% FOR tra IN transactions.by_year.$year.transactions.sort('date').reverse %] - [%- INCLUDE tra_row.html %] - [%- END -%] -
    DateAmountAccountWhoNotesCategory
    + + var myLine = new Chart(document.getElementById("accounts_history_bar_chart").getContext("2d")).Bar(barChartData); + + + + +

    Details

    + + + + + + + + + + [%- USE date(format='%Y/%m/%d') -%] + [% FOR tra IN transactions.by_year.$year.transactions.sort('date').reverse %] + [%- INCLUDE tra_row.html %] + [%- END -%] +
    DateAmountAccountWhoNotesCategory
    -- cgit v1.2.1