summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/pages/packages/ebuilds/ebuild/index.html')
-rw-r--r--python/templates/pages/packages/ebuilds/ebuild/index.html39
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>