{% extends "baseprojectpage.html" %} {% load projecttags %} {% load humanize %} {% block localbreadcrumb %}
  • Project builds
  • {% endblock %} {% block projectinfomain %} {% if objects.paginator.count == 0 %} {% if request.GET.filter or request.GET.search %}
    {% if request.GET.search %}{% endif %}
    {% else %}

    This project has no builds.

    {% endif %} {% else %} {% include "basetable_top.html" %} {% for br in objects %}{% if br.build %} {% with build=br.build %} {# if we have a build, just display it #} {%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 %} {%endwith%} {% else %} {# we don't have a build for this build request, mask the data with build request data #} {% if br.state == br.REQ_FAILED %}{%else%}FIXME_build_request_state{%endif%} 1%}title="Targets: {%for target in br.brtarget_set.all%}{{target.target}} {%endfor%}"{%endif%}>{{br.brtarget_set.all.0.target}} {%if br.brtarget_set.all.count > 1%}(+ {{br.brtarget_set.all.count|add:"-1"}}){%endif%} {{br.machine}} {{br.created|date:"d/m/y H:i"}} {{br.updated|date:"d/m/y H:i"}} {{br.brerror_set.all.count}} error{{br.brerror_set.all.count|pluralize}} {{br.timespent.total_seconds|sectohms}} {# we have no output here #} {%endif%} {% endfor %} {% include "basetable_bottom.html" %} {% endif %} {% endblock %}