{% load i18n %} {% load comments %}

{% trans 'Executions' %}

{% for execution in executions %} {% ifchanged execution.run.plan.pk %} {% if not forloop.first %}
{% endif %}
{% endifchanged %}
{% get_comment_list for execution as execution_comments %} {% with bugs=execution.get_bugs %}
{{ execution.status.name }}
{% if show_bugs and bugs %}
{{ bugs|length }}
{% endif %} {% if execution_comments %}
{{ execution_comments|length }}
{% endif %}
{{ execution.close_date }}
{% if show_bugs %} {% for bug in bugs %} {% endfor %} {% endif %} {% for comment in execution_comments %}
#{{ forloop.counter }}
{{ comment.comment }}
{{ comment.submit_date }}
{% endfor %}
{% endwith %}
{% if forloop.last %}
{% endif %} {% endfor %}