{% extends "base.html" %} {% load lexbuilder_helpers %} {% block header_extra %} {% endblock %} {% block title %}{% ifequal pillar "home" %}Active Project Build Overview{%else%}All Projects{%endifequal%}{% endblock %} {% block content %} {% regroup projects by project_group as project_groups %} {% for projectGroup in project_groups %} {% with projectGroup.grouper.name|default:"other" as projectGroupName %} {% for project in projectGroup.list %} {% with project.latest_build as latest_build %} {% endwith %} {% endfor %} {% endwith %} {% endfor %}

Project

Status

Series

Arch

Last Build

Result

{{ projectGroupName|capfirst }}
{% if project.needs_build %}{% else %}{% ifequal latest_build.result "FAILED" %}{% else %} {% ifequal latest_build.result "COMPLETED" %} {% else %} {% endifequal %}{% endifequal %}{% endif %} {{ project.title }} {{project.get_status_display|default_if_none:"Unknown"}} {{ project.series }} {{ project.arch }} {% if latest_build %} {{ latest_build.name }}{% endif %} {% ifequal latest_build.result "FAILED" %} {% endifequal %} {{ latest_build.result }}
{% if not projects %}

No projects are configured.

{% endif %} {% if perms.queuemanager.add_project %} Add new project {% endif %} {% endblock %} {% block two-columns %} {% endblock %}