{% load i18n %} {% load tag_library %} {% load humanize %} {% with status=activity.openly_status %} {% load ifsetting %}
{% if status == iati_xml_status and activity.iati_identifier not in local_iati_identifiers %} {% elif activity.pk in compare_details %} {% with compare_details|get_item:activity.pk as details %} IATI {% endwith %} {% endif %}
{% if activity.iati_sync_enabled %} {% else %} {% endif %}
{{ project_name }} ID: {{activity.id}} {% if activity.internal_identifier %} | Partner ID: {{activity.internal_identifier}} {% endif %} {% ifsetting OIPA_SYNC_ENABLED %} {% if activity.iati_identifier %} | IATI ID: {{activity.iati_identifier}} {% endif %} {% endifsetting %}
{{ activity.activity_status.name }} - {% trans 'Data Completion' %}: {{activity.completion | percentify }} {% comment %} {% if activity.date_modified %} Updated {{ activity.date_modified }} {% endif %} {% endcomment %}
US${{ activity.total_commitment_usd|floatformat:"0"|intcomma }}
{% trans 'Commitment' %}
{{ activity.general_description }}
{% trans 'General' %}
  • {% trans 'Planned Dates:' %} {{ activity.start_planned }} to {{ activity.end_planned }}
  • {% trans 'Implementing:' %} {{ activity.implementing }}
  • {% trans 'Funding:' %} {{ activity.funding }}
  • {% if activity.date_modified %}
  • {% trans 'Last Updated:' %} {{ activity.date_modified }}
  • {% endif %}
  • {% trans 'Reporting:' %} {{ activity.reporting_organisation.abbreviation }}
  • {% trans 'Extending:' %} {{ activity.extending }}
  • {% trans 'Results:' %} {% if activity.results.count %} {{ activity.results.count }}{% else %}None{% endif %}
  • {% if activity.date_created %}
  • {% trans 'Date Created:' %} {{ activity.date_created }}
  • {% endif %}
Finances
  • {% trans 'Budgets:' %} {{ activity.budget__count }} Entries
  • {% trans 'Transactions:' %} {{ activity.transaction__count }}
  • {% trans 'Finance Type:' %} {{ activity.default_finance_type.name }}
  • {% trans 'Flow Type:' %} {{ activity.default_flow_type.name }}
{% trans 'Sectors' %}
  • {% for sector in activity.sector.all %} {{ sector }} {% endfor %}
{% trans 'Location' %}
  • {% for location in activity.location_set.all %} {{ location.name }} {{ location.percentage }}% {% endfor %}
 
{% if user.is_superuser or user.organisation_code == activity.reporting_organisation.code %}
{% endif %}
{% endwith %}