blob: a1dd4d2b8aa05e555f00f698933b370aef507878 (
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
|
<table class="table table-striped frontpage-table">
{% for B in BL%}
<tr>
<td class="frontpage-table-package-atom"><a href="/new/logs/build/{{ B.BuildLogId }}/" title="{{ B.C }}/{{ B.P }}-{{ B.V }}::{{ B.R }}">
{{ B.C }}/{{ B.P }}-{{ B.V }}::{{ B.R }}</a></td>
<td><p title="{{ B.SummeryText }}">{{ B.SummeryText|truncatewords:3 }}</p>
<td class="text-right">
{% if B.Fail %}
{% for BE in B.BE_tmp %}
{% if BE.BuildLogId.BuildLogId == B.BuildLogId %}
{% if BE.ErrorId.ErrorId == 1 or BE.ErrorId.ErrorId == 2 %}
<span class="label label-warning">{{ BE.ErrorId.ErrorName|upper }}</span>
{% elif BE.ErrorId.ErrorId == 3 %}
<span class="label label-info">OTHERS</span>
{% else %}
<span class="label label-danger">{{ BE.ErrorId.ErrorName|upper }}</span>
{% endif %}
{% endif %}
{% endfor %}
{% else %}
<span class="label label-success">OK</span>
{% endif %}
</td>
</td>
</tr>
{% endfor %}
</table>
|