diff --git a/akvo/templates/project_finance.html b/akvo/templates/project_finance.html index d1af79c998..d8893436b5 100644 --- a/akvo/templates/project_finance.html +++ b/akvo/templates/project_finance.html @@ -34,7 +34,9 @@

{% trans "Current funders" %}:

{% img partnership.organisation 80 60 partnership.organisation.name %}
{{partnership.organisation}} + {% if partnership.funding_amount %}
{{project.get_currency_display}} {{partnership.funding_amount|floatformat:2|intcomma}} + {% endif %}
{% endfor %} @@ -53,11 +55,15 @@

{% trans "Donations" %}:

{% trans "Project transactions" %}:

- {% for transaction in project.transactions.all %} -
{{transaction.description}}:
{{project.get_currency_display}} {{transaction.value|floatformat:2|intcomma}}
- {% empty %} + {% if project.transactions.all %} +
+ {% for transaction in project.transactions.all %} +
{% if transaction.description %}{{transaction.description}}{% else %}{{transaction.iati_transaction_type}}{% endif %}:
{{project.get_currency_display}} {{transaction.value|floatformat:2|intcomma}}
+ {% endfor %} +
+ {% else %}

{% trans "No transactions for this project" %}

- {% endfor %} + {% endif %}