{% extends "base.html" %} {% load projecttags %} {% block content %}
{% if mode == results_mode.SEARCH %} {% elif mode == results_mode.BUILD %} {% endif %} {% if build_failures or build_failures.paginator.count != 0 %} {% for col in tablecols %} {# If a filter is applied #} {% if col.clclass in request.GET.type %} {% endif %} {%endfor%} {%for build_fail in build_failures %} {%endfor%}
{{col.name}}   {% elif request.GET.order_by == col.field or request.GET.order_by == "-"|add:col.field %} {# If a sort is applied #} {% if request.GET.order_by == "-"|add:col.field %} {{col.name}} {% else %} {{col.name}} {% endif %} {% else %} {# default case is sorted by submitted_on #} {% if col.clclass == "submitted_on" and not request.GET.order_by %} {{col.name}} {% else %} {{col.name}} {% endif %}
{{ build_fail.RECIPE }} 13 %}class="tooltip-me" data-toggle="tooltip" title="{{ build_fail.RECIPE_VERSION }}"{%endif%}>{{ build_fail.RECIPE_VERSION|truncatechars:13 }} {{ build_fail.TASK }} {{ build_fail.BUILD.MACHINE }} {{ build_fail.BUILD.DISTRO }} {{ build_fail.BUILD.BUILD_SYS }} {{ build_fail.BUILD.TARGET_SYS }} {{ build_fail.BUILD.NATIVELSBSTRING }} {{build_fail.BUILD.BRANCH}}
{{ build_fail.BUILD.COMMIT|truncatechars:10}}
{{ build_fail.BUILD.NAME }}
{% else %}
Sorry no results found
{# end if paginator.count != 0 #} {% endif %}
{% endblock %}