diff options
Diffstat (limited to 'python/templates/includes/frontpage/new_logs')
-rw-r--r-- | python/templates/includes/frontpage/new_logs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/templates/includes/frontpage/new_logs b/python/templates/includes/frontpage/new_logs index afe190c..3074c4d 100644 --- a/python/templates/includes/frontpage/new_logs +++ b/python/templates/includes/frontpage/new_logs @@ -1,19 +1,19 @@ <table class="table table-striped frontpage-table"> - {% for BuildLogId, B in BL.items %} + {% for B in BL%} <tr> - <td class="frontpage-table-package-atom"><a href="/new_logs/{{ BuildLogId }}/" title="{{ B.C }}/{{ B.P }}-{{ B.V }}::{{ B.R }}"> + <td class="frontpage-table-package-atom"><a href="/new_logs/{{ 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 == BuildLogId %} + {% 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> + <span class="label label-danger">{{ BE.ErrorId.ErrorName|upper }}</span> {% endif %} {% endif %} {% endfor %} |