{% load humanize %} {% load squad %}
{% for project in projects %}
{% with status=project.status %}
{% if status.has_tests %}
{{status.tests_total}} total {% 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 %}
{% 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 and project.description|length > 50 %} {% endif %} {% endwith %}
{% endfor %}