blob: bb97536e3d1d829279f32f7b12acae8c390fa7b9 (
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
|
<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>
{% 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>
</td>
</tr>
{% endfor %}
</table>
|