clean groupings up a bit
{% extends "base.html" %}
{% block content %}
<h1>Functional test results for {{ kversion }}
{% if arch %}
({{ arch }})
{% endif %}
</h1>
{% if results %}
{% if archs %}
<p>
<strong>Show only:</strong>
{% for arch in archs %}
<a href='{{arch.safename}}'>{{ arch }}</a>
{% endfor %}
</p>
{% endif %}
{% regroup results by client as grouped_results %}
<table>
{% for result_group in grouped_results %}
<tr>
<td colspan='4'>
<div class='machine-header'>
{{ result_group.grouper }}
{% if not arch %}
({{ result_group.grouper.arch }})
{% endif %}
<div class='machine-nav'>
<a href='{{result_group.grouper.url}}'>more info</a> |
[un]subscribe
</div>
</div>
</td>
</tr>
<tr>
<th>Test type</th>
<th>Job number</th>
<th>Status</th>
<th>Reason</th>
</tr>
{% for result in result_group.list %}
<tr>
<td class='status_{{ result.status }}'>{{ result.type }}</td>
<td class='status_{{ result.status }}'><a href='http://test.kernel.org/abat/{{result.id}}'>{{result.id}}</a></td>
<td class='status_{{ result.status }}'><a href='http://test.kernel.org/abat/{{result.id}}/summary'>{{ result.status }}</a></td>
<td class='status_{{ result.status }}'><a href='http://test.kernel.org/abat/{{result.id}}/summary'>{{ result.reason }}</a></td>
</tr>
{% endfor %}
{% endfor %}
</table>
{% else %}
<p>No results found.</p>
{% endif %}
{% endblock %}
|
Tobias McNulty Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |