{% trans "Opportunities By Type" %}
{% if types.object_list %}-
{% for type in types.object_list %}
-
{{ type.name }} ({{ type.opportunity_set.count }} issues)
-
{% for opportunity in type.opportunity_set.all %}
{% include "opportunities/opportunity_detail.inc.html" %}
{% endfor %}
{% endfor %}
{% if types.has_previous %}
previous
{% endif %}
Page {{ types.number }} of {{ types.paginator.num_pages }}.
{% if types.has_next %}
next
{% endif %}
{% else %}
{% trans "There are currently no opportunities in Harvest. :(" %}
{% endif %}