major improvements
All checks were successful
Build and Deploy Website / Build Website (push) Successful in 1m13s
Build and Deploy Website / Deploy Website (push) Has been skipped
Build and Deploy Website / Deploy Dev Website (push) Successful in 12s

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

@ -2,17 +2,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 donations[0].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 %}
@ -24,7 +24,7 @@
</tbody>
<tfoot>
<tr>
<th colspan="3">{{strings.donations.total[locale]}}</th>
<th colspan="3">{{strings.donations.total}}</th>
<th>{{donations[0].donations | sum | amount}} €</th>
</tr>
</tfoot>