summaryrefslogtreecommitdiff
path: root/lkft/templates/lkft-projects.html
blob: 4cb19b560d3a33d9c3a404e3747b3de2a1c07d81 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{% extends '_layouts/base.html' %}

{% block title %} LKFT Projects {% endblock %}

{% block headline %}<h1>LKFT Projects</h1>{% endblock %}

{% block content %}
<div>
<table border="1">
	<tr>
		<td>Index</td>
		<td>Project</td>
	</tr>
{% for project in projects %}
<tr>
	<td> {{ forloop.counter }}</td>
    <td>
        <a href="/lkft/builds?project_id={{project.id}}">{{project.name}}</a>
    </td>
</tr>
{% endfor %}
</table>
</div>
<div>
{% if open_bugs %}
<h2>Open Bugs</h2>
<table border=2>
<tr>
    <th>Index</th>
    <th>Bug Id</th>
    <th>Summary</th>
    <th>Version</th>
    <th>Status</th>
</tr>
{% for bug in open_bugs %}
    {% ifnotequal  bug.status 'RESOLVED' %}
    <tr>
        <td>{{ forloop.counter }}</td>
        <td><a href="https://bugs.linaro.org/show_bug.cgi?id={{ bug.id }}">{{ bug.id }}</a></td>
        <td>{{ bug.summary }}</td>
        <td>{{ bug.version }}</td>
        <td>{{ bug.status }}</td>
    </tr>
    {% endifnotequal %}
{% endfor %}
</table>
{% else %}
Excellent build, no open bugs on it at the moment.
{% endif %}
</div>
{% endblock %}