{% load bootstrap %} {% load user_groups %} {% load guardian_tags %} {% get_obj_perms request.user for subsidy.organization as "user_org_perms" %}
From: | {% if subsidy.organization.details_publicly_viewable or perms.scipost.can_manage_organizations %}{{ subsidy.organization }}{% else %}{{ subsidy.organization }}{% endif %} |
Type: | {{ subsidy.get_subsidy_type_display }} |
Description: | {{ subsidy.description }} |
Amount: | {% if subsidy.amount_publicly_shown or perms.scipost.can_manage_subsidies or "can_view_org_contacts" in user_org_perms %}€{{ subsidy.amount }}{% else %}-{% endif %}{% if perms.scipost.can_manage_subsidies or "can_view_org_contacts" in user_org_perms %} {% if subsidy.amount_publicly_shown %}publicly visible{% else %}publicly invisible{% endif %} Make it {% if subsidy.amount_publicly_shown %}in{% endif %}visible{% endif %} |
Date from: | {{ subsidy.date_from }} |
Date until: | {{ subsidy.date_until }} |
Renewable? | {% if subsidy.renewable == True %}Yes, renewal action date: {{ subsidy.renewal_action_date }}{% elif subsidy.renewable == None %}Undetermined [please update]{% else %}No{% endif %} |
Status | {{ subsidy.get_status_display }} |
Paid on | {% if subsidy.paid_on %}{{ subsidy.paid_on }}{% else %}{% include "bi/cone-striped.html" %}{% endif %} |
Renewal of:
Renewed by:
File name | Date | {% if perms.scipost.can_manage_subsidies or "can_view_org_contacts" in user_org_perms %}Visibility | {% endif %}||
---|---|---|---|---|
{{ att.filename }} | {{ att.date }} | {% if perms.scipost.can_manage_subsidies or "can_view_org_contacts" in user_org_perms %}{{ att.get_visibility_display }} | {% if perms.scipost.can_manage_subsidies %}Update | Delete | {% endif %} {% endif %}
No attachment found |