{% extends "base.html" %} {% load projecttags %} {% load humanize %} {% block pagecontent %}
{%if mru.count > 0%} {% for build in mru %}
{%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %}
{% if build.errors_no %} {{build.errors_no}} error{{build.errors_no|pluralize}} {% endif %}
{% if build.warnings_no %} {{build.warnings_no}} warning{{build.warnings_no|pluralize}} {% endif %}
{%endif%}{%if build.outcome == build.IN_PROGRESS %}
ETA: in {{build.eta|naturaltime}}
{%endif%}
{% endfor %}{%endif%} {% if objects.paginator.count == 0 %}
{% 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.is_image %}{% endif %}{{t.target}}{% if t.is_image %}{% 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}}{%endif%} {% if build.errors_no %}{{build.errors_no}} error{{build.errors_no|pluralize}}{%endif%} {% if build.warnings_no %}{{build.warnings_no}} warning{{build.warnings_no|pluralize}}{%endif%} {{build.timespent|sectohms}} {{build.cooker_log_path}} {% if build.outcome == 0 %}{% for t in build.target_set.all %}{% if t.is_image %}{{build.image_fstypes}}{% endif %}{% endfor %}{% endif %} {% endfor %} {% include "basetable_bottom.html" %} {% endif %}
{% endblock %}