major improvements

strings refactoring
improved og tags (see #57)
This commit is contained in:
Samuel Philipp 2024-03-31 00:09:47 +01:00
parent d3885bab8b
commit a122b0e3ac
26 changed files with 188 additions and 222 deletions

View file

@ -5,17 +5,17 @@
<table class="table">
<thead>
<tr>
<th>{{strings.donations.date[locale]}}</th>
<th>{{strings.donations.via[locale]}}</th>
<th>{{strings.donations.from[locale]}}</th>
<th>{{strings.donations.amount[locale]}}</th>
<th>{{strings.donations.date}}</th>
<th>{{strings.donations.via}}</th>
<th>{{strings.donations.from}}</th>
<th>{{strings.donations.amount}}</th>
</tr>
</thead>
<tbody>
{% for donation in year.donations %}
<tr>
<td>{{donation.date}}</td>
<td>{{strings.donations[donation.via][locale]}}</td>
<td>{{strings.donations[donation.via]}}</td>
{% if donation.from %}
<td>{{donation.from}}</td>
{% else %}
@ -27,7 +27,7 @@
</tbody>
<tfoot>
<tr>
<th colspan="3">{{strings.donations.total[locale]}}</th>
<th colspan="3">{{strings.donations.total}}</th>
<th>{{year.donations | sum | amount}} €</th>
</tr>
</tfoot>