From a5aa3cc0145bfacb415833546c271a60728f5cec Mon Sep 17 00:00:00 2001
From: samuel-p Eine aktuelle Liste aller eingegangenen Spenden pflege ich hier.
- 1 Bei den geleisteten Zahlungen handelt sich um Schenkungen im Sinne von § 516 BGB,
diff --git a/src/de/index.html b/src/de/index.html
index a3ce08f..833ea88 100644
--- a/src/de/index.html
+++ b/src/de/index.html
@@ -31,7 +31,7 @@ eleventyNavigation:
href="https://social.sp-codes.de/@sp_codes">@sp_codes@social.sp-codes.de
+
+
diff --git a/src/_includes/donations.html b/src/_includes/donations.html
new file mode 100644
index 0000000..685dc46
--- /dev/null
+++ b/src/_includes/donations.html
@@ -0,0 +1,38 @@
+{% for year in donations %}
+
+
+
+
+ {% for donation in donations[0].donations %}
+ {{strings.date[locale]}}
+ {{strings.via[locale]}}
+ {{strings.from[locale]}}
+ {{strings.amount[locale]}}
+
+
+ {% endfor %}
+
+
+ {{donation.date}}
+ {% if donation.via == 'opencollective' %}
+ Open Collective
+ {% else %}
+ {{strings[donation.via][locale]}}
+ {% endif %}
+ {% if donation.from %}
+ {{donation.from}}
+ {% else %}
+ ***
+ {% endif %}
+ {{donation.amount | amount(locale)}} €
+
+
+
+{{strings.total[locale]}}
+ {{donations[0].donations | sum | amount(locale)}} €
+ {{year.year}}
+
+
+
+
+{% endfor %}
diff --git a/src/_includes/expenses-current.html b/src/_includes/expenses-current.html
new file mode 100644
index 0000000..2810feb
--- /dev/null
+++ b/src/_includes/expenses-current.html
@@ -0,0 +1,33 @@
+
+
+
+
+ {% for donation in year.donations %}
+ {{strings.date[locale]}}
+ {{strings.via[locale]}}
+ {{strings.from[locale]}}
+ {{strings.amount[locale]}}
+
+
+ {% endfor %}
+
+
+ {{donation.date}}
+ {% if donation.via == 'opencollective' %}
+ Open Collective
+ {% else %}
+ {{strings[donation.via][locale]}}
+ {% endif %}
+ {% if donation.from %}
+ {{donation.from}}
+ {% else %}
+ ***
+ {% endif %}
+ {{donation.amount | amount(locale)}} €
+
+
+
+{{strings.total[locale]}}
+ {{year.donations | sum | amount(locale)}} €
+
+
+
diff --git a/src/_includes/layouts/services.njk b/src/_includes/layouts/services.njk
index 2ea3600..f15e7d6 100644
--- a/src/_includes/layouts/services.njk
+++ b/src/_includes/layouts/services.njk
@@ -6,5 +6,5 @@ layout: base.njk
{{ content | safe }}
+
+
+
+ {% for expense in expenses %}
+ {{strings.name[locale]}}
+ {{strings.type[locale]}}
+ {{strings.provider[locale]}}
+ {{strings.amount[locale]}} / {{strings.month[locale]}}
+ {{strings.amount[locale]}} / {{strings.year[locale]}}
+
+ {% if expense.name[locale] %}
+
+ {% endfor %}
+
+
+ {{expense.name[locale]}}
+ {% else %}
+ {{expense.name}}
+ {% endif %}
+ {{expense.type}}
+ {{expense.provider}}
+ {{expense.amount | amount(locale)}} €
+ {{expense.amount | year | amount(locale)}} €
+
+
+
+{{strings.total[locale]}}
+ {{expenses | sum | amount(locale)}} €
+ {{expenses | sum | year | amount(locale)}} €
+ {{service.name}}{% if service.url %} {% endif %}
{% if service.status %}
diff --git a/src/_includes/services-simple.html b/src/_includes/services-simple.html
index 85f29bd..e0d1c44 100644
--- a/src/_includes/services-simple.html
+++ b/src/_includes/services-simple.html
@@ -6,7 +6,11 @@
{% if service.beta == true %}
{{service.name}}{% if service.url %} {% endif %}
Alle Spenden
+
+
+
+{% include "donations.html" %}
diff --git a/src/de/contact.html b/src/de/contact.html
index 0d13762..80879f4 100644
--- a/src/de/contact.html
+++ b/src/de/contact.html
@@ -20,23 +20,23 @@ eleventyNavigation:
- Empfehlen
@@ -29,7 +29,7 @@ eleventyNavigation:
einen Dauerauftrag.
Open Collective
+ Open Collective
Aktuelle Ausgaben
+{% include "expenses-current.html" %}
+
+Spenden {{donations[0].year}}
+{% include "donations-current.html" %}
+
+
I maintain a list of all received donations here.
-1 The payments made are donations in terms of § 516 BGB, not tax-deductible donations in terms diff --git a/src/en/index.html b/src/en/index.html index fae8684..5f43784 100644 --- a/src/en/index.html +++ b/src/en/index.html @@ -30,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