diff options
author | 2016-02-12 23:41:24 +0100 | |
---|---|---|
committer | 2016-02-12 23:41:24 +0100 | |
commit | fb308a94d6fd8690d3e82f8fe833bbe93791ec39 (patch) | |
tree | 0e76a14596d6bb6b60de25bc64697ebeb4ebf738 /python/templates/pages/packages/ebuilds/ebuild/index.html | |
parent | update buildinfo to packages typo fix (diff) | |
download | tinderbox-cluster-www-fb308a94d6fd8690d3e82f8fe833bbe93791ec39.tar.gz tinderbox-cluster-www-fb308a94d6fd8690d3e82f8fe833bbe93791ec39.tar.bz2 tinderbox-cluster-www-fb308a94d6fd8690d3e82f8fe833bbe93791ec39.zip |
redo the add buildinfo to packages
Diffstat (limited to 'python/templates/pages/packages/ebuilds/ebuild/index.html')
-rw-r--r-- | python/templates/pages/packages/ebuilds/ebuild/index.html | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/python/templates/pages/packages/ebuilds/ebuild/index.html b/python/templates/pages/packages/ebuilds/ebuild/index.html index 6f2166a..49ad3e5 100644 --- a/python/templates/pages/packages/ebuilds/ebuild/index.html +++ b/python/templates/pages/packages/ebuilds/ebuild/index.html @@ -41,21 +41,30 @@ {% for BL in BL_tmp %} <tr> <td class="frontpage-table-package-atom"> - {% if BL.Fail %} - <span class="label label-danger">Build</span> - {% else %} - <span class="label label-success">Build</span> - {% endif %} - {% for BLR in BLR_tmp %} - {% if BLR.BuildLogId.BuildLogId == BL.BuildLogId%} - <span class="label label-warning">Repoman</span> - {% endif %} - {% endfor %} - {% for BLQ in BLQ_tmp %} - {% if BLQ.BuildLogId.BuildLogId == BL.BuildLogId%} - <span class="label label-warning">Qa</span> - {% endif %} - {% endfor %} + {% for FI in fi_tmp %} + {% if FI.BuildLogId == BL.BuildLogId %} + {% if FI.Blo %} + <span class="label label-info">Others</span> + {% else %} + {% if FI.qa %} + <span class="label label-warning">Qa</span> + {% else %} + <span class="label label-success">Qa</span> + {% endif %} + {% if FI.repoman %} + <span class="label label-warning">Repoman</span> + {% else %} + <span class="label label-success">Repoman</span> + {% endif %} + + {% if FI.Blb %} + <span class="label label-danger">Build</span> + {% else %} + <span class="label label-success">Build</span> + {% endif %} + {% endif %} + {% endif %} + {% endfor %} <a class="btn btn-default btn-xs" href="/new/logs/build/{{ BL.BuildLogId }}/">More info</a> </td> </tr> |