{% load natural %} {% load i18n %} {% regroup transactions by date|customnaturaldate as transactions_by_date %}
{% for x in transactions_by_date %}
{% for trans in x.list %} {% include 'transactions/fragments/item.html' with transaction=trans %} {% endfor %}
{% empty %}

{% translate "No transactions this month" %}

{% translate "Try adding one" %}

{% endfor %}