{% extends "base.html" %} {% load static %} {% load projecttags %} {% load project_url_tag %} {% load humanize %} {% block extraheadcontent %} {% endblock %} {% block pagecontent %} {% if last_date_from and last_date_to %} {%endif%} {# last_date_from and last_date_to #}
{% include "mrb_section.html" %} {% if objects.paginator.count == 0 %}
{% if request.GET.search %}{% endif %}
{% else %} {% include "basetable_top.html" %} {% for build in objects %} {%if build.outcome == build.SUCCEEDED%}{%elif build.outcome == build.FAILED%}{%else%}{%endif%}   {% for t in build.target_set.all %} {% if t.task %} {{t.target}}:{{t.task}} {% else %} {{t.target}} {% endif %}
{% 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}} {% elif exectask.count > 1%} {{exectask.count}} task{{exectask.count|pluralize}} {%endif%} {% if build.errors.count %} {{build.errors.count}} error{{build.errors.count|pluralize}} {%endif%} {% if build.warnings.count %}{{build.warnings.count}} warning{{build.warnings.count|pluralize}}{%endif%} {{build.timespent_seconds|sectohms}} {% if build.outcome == build.SUCCEEDED %} {{fstypes|get_dict_value:build.id}} {% endif %} {{build.project.name}} {% if build.project.is_default %} {% endif %} {% endfor %} {% include "basetable_bottom.html" %} {% endif %} {# objects.paginator.count #}
{% endblock %}