blob: 49db4c314b04fe0b87881fcd6ba2bce786e90a38 (
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
|
{% for BL in BL_tmp %}
<tr>
<td>
<a href="/logs/build/{{ BL.BuildLogId }}/">
<span class="text-muted">{{ BL.C }}/</span>/<strong>{{ BL.P }}-{{ BL.V }}::{{ BL.R }}</strong>
</a>
</td>
<td>
<p title="{{ BL.SummeryText }}">{{ BL.SummeryText|truncatewords:5 }}</p>
{% if BL.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>
{% endif %}
{% if BE.ErrorId.ErrorId == 3 %}
<span class="label label-info">{{ BE.ErrorId.ErrorName|upper }}</span>
{% elif BE.ErrorId.ErrorId > 3 %}
<span class="label label-danger">{{ BE.ErrorId.ErrorName|upper }}</span>
{% endif %}
{% endif %}
{% endfor %}
{% if not B.FailB %}
<span class="label label-success">BUILD</span>
{% endif %}
{% else %}
<span class="label label-success">Ok</span>
{% endif %}
</td>
</tr>
{% endfor %}
|