{% load i18n %} {% if not targeted %}
{% translate 'Asset classes' %}
{% elif total_target != 100 %} {% else %} {% for plan in plans %} {% with c=plan.currency %}
{% if plans|length > 1 %}
{{ c.name }}
{% endif %}
{% for row in plan.rows %} {% endfor %}
{% translate 'Asset class' %} {% translate 'Value' %} {% translate 'Now' %} {% translate 'Target' %} {% translate 'To reach the target' %}
{{ row.class.name }} {{ row.share|floatformat:1 }}% {{ row.target|floatformat:"-2" }}% {% if row.move > 0 %} {% translate 'Buy' %} {% elif row.move < 0 %} {% translate 'Sell' %} {% else %} - {% endif %}
{% if plan.left_out %}
{% translate 'Left out: investments without an asset class or a target' %} ยท
{% endif %}
{% endwith %} {% endfor %} {% endif %}