{% for subsidy in page_obj %} {{ subsidy.organization }} {% if subsidy.nr_visible_notes %} {% include 'bi/info-circle-fill.html' %} {% endif %} {{ subsidy.get_subsidy_type_display }} {% if perms.scipost.can_manage_subsidies %} {% if subsidy.payments_all_scheduled %} {% include 'bi/check-circle-fill.html' %} {% elif not subsidy.payments.exists %} {% include 'bi/x-circle-fill.html' %} {% else %} {% include 'bi/plus-circle-fill.html' %} {% endif %} {% 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 %}
Loading page {{ page_obj.next_page_number }} out of {{ page_obj.paginator.num_pages }}
{% endif %}