{% load humanize %} {% load squad %} {% for build in builds %}
{% with status=build.status %}

{{build.version}}

{{build.test_runs_total}} test runs {% if build.test_runs_completed > 0 %} {{build.test_runs_completed}} completed {% endif %} {% if build.test_runs_incomplete > 0 %} {{build.test_runs_incomplete}} incomplete {% endif %}
{% if status.has_tests %}
{{status.tests_total}} tests {% if status.tests_pass > 0 %} {{status.tests_pass}} passed {% endif %} {% if status.tests_skip > 0 %} {{status.tests_skip}} skipped {% endif %} {% if status.tests_fail > 0 %} {{status.tests_fail}} failed {% endif %}
{% endif %} {% if status.has_metrics %}
{{status.metrics_summary|floatformat:3}}
{% endif %}
{% if status.last_updated %}
  {{status.last_updated|naturaltime}}
  {{status.last_updated}}
{% endif %}
{% if project.description%}
{{project.description|urlize|truncatechars_html:140}} {% if project.description|length > 140 %} Show more {% endif %}
{% endif %} {% endwith %}
{% endfor %}