{% load i18n %} {% with c=total.currency %}
{% translate 'Portfolio value' %}{% if totals|length > 1 %} ยท {{ c.name }}{% endif %}
{% include 'investments/fragments/_mwr.html' with mw=total.money_weighted %} {% translate 'all time' %}
{# Secondary figures stay out of sight until asked for #}
{% translate 'Details' %}
{% translate 'Invested' %}
{% translate 'Income' %}
{% if total.converted_from %}
{% translate 'Currency effect' %}
{% if total.has_rate_history %} {% else %} {% translate 'Needs historical exchange rates' %} {% endif %}
{% endif %} {% for part in total.breakdown %} {% with p=part.currency %}
{% blocktranslate with name=p.name %}In {{ name }}{% endblocktranslate %}
{% include 'investments/fragments/_mwr.html' with mw=part.money_weighted %}
{% endwith %} {% endfor %}
{% endwith %}