summaryrefslogtreecommitdiffstats
path: root/templates/releng/result_section.html
blob: 91a756132c99d1be7738e6c436fa90cc57b492e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% load url from future %}
<tr>
    <th>{% if option.is_rollback %}Rollback: {% endif %}{{ option.name|title }}</td>
    <th>Last Success</th>
    <th>Last Failure</th>
</tr>
{% for item in option.values %}
<tr>
    <td>
        <a href="{% url 'releng-results-for' option.field_name item.value.pk %}">
            {{ item.value.name|lower }}
        </a>
    </td>
    <td>
        {% if item.success %}
        <a href="{% url 'releng-results-iso' item.success.pk %}">
            {{ item.success.name }}
        </a>
        {% else %}Never succeeded{% endif %}
    </td>
    <td>
        {% if item.failure %}
        <a href="{% url 'releng-results-iso' item.failure.pk %}">
            {{ item.failure.name }}
        </a>
        {% else %}Never failed{% endif %}
    </td>
</tr>
{% endfor %}