diff options
Diffstat (limited to 'python/templates/includes/frontpage/new_logs')
-rw-r--r-- | python/templates/includes/frontpage/new_logs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/python/templates/includes/frontpage/new_logs b/python/templates/includes/frontpage/new_logs index a1dd4d2..3b0310c 100644 --- a/python/templates/includes/frontpage/new_logs +++ b/python/templates/includes/frontpage/new_logs @@ -6,19 +6,19 @@ <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 %} + {% if B.FailCode == 'OTHERS' %} + <span class="label label-info">{{ B.FailCode }}</span> + {% else %} + <span class="label label-info">{{ B.FailCode }}</span> + {% endif %} {% else %} - <span class="label label-success">OK</span> + <span class="label label-success">Build</span> + {% endif %} + {% if B.Repoman %} + <span class="label label-warning">Repoman</span> + {% endif %} + {% if B.Qa %} + <span class="label label-warning">Qa</span> {% endif %} </td> </td> |