{% load i18n %} {% with c=total.currency %}
{% include 'investments/fragments/_mwr.html' with mw=total.money_weighted %} {% translate 'total return' %}
{% translate 'Invested' %}
{% translate 'Income' %}
{% if total.converted_from %} {% if total.has_rate_history %}
{% translate 'Currency effect' %}
{% else %}
{% translate 'Currency effect' %}
{% endif %} {% endif %}
{% if total.breakdown %}
{% for part in total.breakdown %} {% with p=part.currency %}
{{ p.name }}
{% translate 'Return' %} {% include 'investments/fragments/_mwr.html' with mw=part.money_weighted %}
{% translate 'Invested' %}
{% translate 'Income' %}
{% endwith %} {% endfor %}
{% endif %}
{% endwith %}