{% load i18n %}
{% spaceless %}
{% translate 'Asset classes' %}
{% endspaceless %}
{% if classes %} {% if total_target and total_target != 100 %} {% endif %}
{% for cls in classes %} {% endfor %} {% if total_target %} {% endif %}
{% translate 'Name' %} {% translate 'Target' %} {% translate 'Investments' %}
{{ cls.name }} {% if cls.target is not None %}{{ cls.target|floatformat:"-2" }}%{% else %}-{% endif %} {{ cls.accounts.count }}
{% translate 'Total' %} {{ total_target|floatformat:"-2" }}%
{% else %} {% endif %}