summaryrefslogtreecommitdiff
blob: 1acbbc2552d6e8dfdbf6c65b724524222799d80d (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 %}
          {% if B.FailCode == 'OTHERS' %}
            <span class="label label-info">{{ B.FailCode }}</span>
          {% else %}
            <span class="label label-danger">{{ B.FailCode }}</span>
          {% endif %}
        {% else %}
          <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>
    </tr>
  {% endfor %}
</table>