{% extends "base.html" %} {% load static %} {% load projecttags %} {% load humanize %} {% block pagecontent %}
{% include "mrb_section.html" %} {% if 1 %} {% if objects.paginator.count == 0 %}
{% if request.GET.search %}{% endif %}
{% else %} {% include "basetable_top_buildprojects.html" %} {% for build in objects %} {%if build.outcome == build.SUCCEEDED%}{%elif build.outcome == build.FAILED%}{%else%}{%endif%} {% for t in build.target_set.all %} {{t.target}}
{% endfor %} {{build.machine}} {{build.started_on|date:"d/m/y H:i"}} {{build.completed_on|date:"d/m/y H:i"}} {% query build.task_build outcome=4 order__gt=0 as exectask%} {% if exectask.count == 1 %} {{exectask.0.recipe.name}}.{{exectask.0.task_name}} {% if MANAGED and build.project %} {% endif %} {% elif exectask.count > 1%} {{exectask.count}} task{{exectask.count|pluralize}} {%endif%} {% if build.errors_no %} {{build.errors_no}} error{{build.errors_no|pluralize}} {% if MANAGED and build.project %} {% endif %} {%endif%} {% if build.warnings_no %}{{build.warnings_no}} warning{{build.warnings_no|pluralize}}{%endif%} {{build.timespent|sectohms}} {% if not MANAGED or not build.project %} {{build.cooker_log_path}} {% endif %} {% if build.outcome == build.SUCCEEDED %} {{fstypes|get_dict_value:build.id}} {% endif %} {% if MANAGED %} {% if build.project %} {{build.project.name}} {% endif %} {% endif %} {% endfor %} {% include "basetable_bottom.html" %} {% endif %} {# objects.paginator.count #} {% endif %} {# empty #}
{% endblock %}