{% for year in donations %}

{{year.year}}

{% for donation in year.donations %} {% if donation.via == 'opencollective' %} {% else %} {% endif %} {% if donation.from %} {% else %} {% endif %} {% endfor %}
{{strings.date[locale]}} {{strings.via[locale]}} {{strings.from[locale]}} {{strings.amount[locale]}}
{{donation.date}}Open Collective{{strings[donation.via][locale]}}{{donation.from}}***{{donation.amount | amount}} €
{{strings.total[locale]}} {{year.donations | sum | amount}} €
{% endfor %}