diff options
Diffstat (limited to 'python/templates/includes/frontpage/new_logs')
-rw-r--r-- | python/templates/includes/frontpage/new_logs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/python/templates/includes/frontpage/new_logs b/python/templates/includes/frontpage/new_logs index bb97536..49db4c3 100644 --- a/python/templates/includes/frontpage/new_logs +++ b/python/templates/includes/frontpage/new_logs @@ -1,11 +1,13 @@ -<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 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 %} @@ -21,11 +23,9 @@ {% 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>
\ No newline at end of file + {% else %} + <span class="label label-success">Ok</span> + {% endif %} + </td> +</tr> +{% endfor %} |