{% load humanize %} {% load squad %}
{% for status in statuses %} {% with build=status.build %}
{% if not build.status.finished %}{% endif %} {{build.version}}
{{status.test_runs_total}} test runs {% if status.test_runs_completed > 0 %} {{status.test_runs_completed}} completed {% endif %} {% if status.test_runs_incomplete > 0 %} {{status.test_runs_incomplete}} incomplete {% endif %}
{% if status.has_tests %}
{{status.tests_total}} tests {% if status.tests_pass > 0 %} {{status.tests_pass}} pass {% endif %} {% if status.tests_skip > 0 %} {{status.tests_skip}} skip {% endif %} {% if status.tests_fail > 0 %} {{status.tests_fail}} fail {% endif %} {% if status.tests_xfail > 0 %} {{status.tests_xfail}} xfail {% endif %}
{% endif %} {% if status.has_metrics %}
{{status.metrics_summary|floatformat:3}}
{% endif %}
{% if status.last_updated %}
  {{status.last_updated|naturaltime}}
  {{status.last_updated}}
{% endif %}
{% endwith %} {% endfor %}