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