{% load i18n utils %}

{% translate 'Budgets' %}

{% if is_owner %} {% endif %}
{% for budget in study.budget_set.all %} {% if is_owner %} {% endif %} {% if budget.needs_approval %} {% if perms.budgets.approve %} {% endif %} {% endif %} {{ budget.expected }} € {% if budget.actual %} ({{ budget.actual }} €) {% endif %} {% if budget.approved_by %} {% translate 'approved' %} {% endif %} {% if not forloop.last %}
{% endif %} {% empty %}
{% translate 'No budgets so far' %}
{% endfor %}