{% load i18n %}
{% spaceless %}
{% translate 'Investments' %}
{% endspaceless %}
{% if groupings.0.1 %}
{% for total in totals %} {% include 'investments/fragments/_totals.html' %} {% endfor %}
{% for attr, groups in groupings %}
{% for item in groups %}
{% if item.group %}{{ item.group.name }}{% elif attr == 'investment_class' %}{% translate 'Unclassified' %}{% else %}{% translate 'Ungrouped' %}{% endif %}
{% for total in item.totals %} {% endfor %}
{% endfor %}
{% endfor %}
{% else %} {% endif %}