{% for subsidy in page_obj %} {{ subsidy.organization }} {{ subsidy.get_subsidy_type_display }} {% if subsidy.renewal_of.all|length > 0 %}
Renewal of: {% endif %} {% if subsidy.renewed_by.all|length > 0 %}
Renewed by: {% endif %} {% if subsidy.amount_publicly_shown or perms.scipost.can_manage_subsidies %}€{{ subsidy.amount }}{% else %}-{% endif %} {{ subsidy.date_from }} {{ subsidy.date_until }} {% if perms.scipost.can_manage_subsidies %} {{ subsidy.get_status_display }} {% if subsidy.renewable == True %}{% include 'bi/check-circle-fill.html' %}{% elif subsidy.renewable == False %}{% include 'bi/x-circle-fill.html' %}{% else %}{% include 'bi/question-circle-fill.html' %}{% endif %} {% if subsidy.renewed_by.all|length > 0 %}{% include 'bi/check-circle-fill.html' %}{% else %}{% include 'bi/x-circle-fill.html' %}{% endif %} {{ subsidy.renewal_action_date }} {% endif %} {% if "finadmin" in user_roles %}
{% endif %} {% endfor %} {% if page_obj.has_next %} {% endif %}