summaryrefslogtreecommitdiff
path: root/templates/releng/result_section.html
blob: c82a553260c6c4e2f996b5aab5f38ad95e90d898 (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.name|lower 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 %}