{% extends "base.html" %} {% load navigation_tags %} {% load display_tags %} {% load dict_key %} {% block content %} {{ block.super }}

{{ view }} Engagements

{% include "dojo/filter_snippet.html" with form=filter_form %}
{% if engagements %}
{% include "dojo/paging_snippet.html" with page=engagements page_size=True %}
{% if system_settings.enable_jira %} {% endif %} {% for e in engagements %} {% if system_settings.enable_jira %} {% endif %} {% endfor %}
{% dojo_sort request 'Engagement' 'name' 'asc' %} {% dojo_sort request 'Period' 'target_start' 'asc' %} Status {% dojo_sort request 'Product' 'product__name' 'asc' %} {% dojo_sort request 'Product Type' 'product__prod_type__name' %} {% dojo_sort request 'Lead' 'lead__first_name' %} TestsJira
{% if e.name %}{{ e.name }}{% endif %}
{% include "dojo/snippets/tags.html" with tags=e.tags.all %}
{{ e.target_start }} - {{ e.target_end }} {% if e.is_overdue %} {{ e.target_end|overdue }} overdue {% endif %} {{ e.status }} {{ e.product.name }} {{ e.product|jira_project_tag }} {% include "dojo/snippets/tags.html" with tags=e.product.tags.all %} {{ e.product.prod_type.name }} {{ e.lead.first_name }} {{ e.lead.last_name }} {% with test_count=engagement_test_counts|dict_key:e.pk|default_if_none:0 %} {{ test_count }} {% endwith %} {{ e|jira_project_tag }}
{% include "dojo/paging_snippet.html" with page=engagements page_size=True %}
{% else %}
No active engagements
{% endif %}
{% endblock %} {% block postscript %} {{ block.super }} {% include "dojo/filter_js_snippet.html" %} {% endblock %}