{% extends "./_base.html" %} {% block block %}

Projects

{% for project in projects %} {% if auth('ProjectView', project_id=project.project_id) %}

{{ project.name }}

{% if project.last_non_running_build %} {{ project.last_non_running_build.build_id }} {% end %}
{% if project.last_build %} {{ project.last_build.status.title() }} {% else %} New {% end %}
{% for i in range(project.health(6)) %} {% end %} {% for i in range(6 - project.health(6)) %} {% end %}
{% if project.last_non_running_build %} Duration: {{ utils.pretty_duration_round(project.last_non_running_build.duration) }} {% end %}
{% end %} {% end %}
{% end %}