summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2016-02-04 23:54:33 +0100
committerMagnus Granberg <zorry@gentoo.org>2016-02-04 23:54:33 +0100
commit42327597334a2350d1c3de4270790dfad984086d (patch)
tree68fd282e51f639707f5223ea67da2f2c360b1f56
parentupdate buildinfo to packages (diff)
downloadtinderbox-cluster-www-42327597334a2350d1c3de4270790dfad984086d.tar.gz
tinderbox-cluster-www-42327597334a2350d1c3de4270790dfad984086d.tar.bz2
tinderbox-cluster-www-42327597334a2350d1c3de4270790dfad984086d.zip
update buildinfo to packages typo fix
-rw-r--r--python/tbc_www/views.py2
-rw-r--r--python/templates/includes/frontpage/new_logs2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/tbc_www/views.py b/python/tbc_www/views.py
index e5b92a0..c1124ff 100644
--- a/python/tbc_www/views.py
+++ b/python/tbc_www/views.py
@@ -233,7 +233,7 @@ def new_main(request):
if BE.ErrorId.ErrorId == 3:
adict2['FailCode'] = 'OTHERS'
if BE.ErrorId.ErrorId >= 4:
- adict2['FailCode'] = BE.ErrorId.Error
+ adict2['FailCode'] = BE.ErrorId.ErrorName
adict2['Repoman'] = False
BLRe = BuildLogsRepoman.objects.filter(BuildLogId = BL.BuildLogId)
if BLRe.exists():
diff --git a/python/templates/includes/frontpage/new_logs b/python/templates/includes/frontpage/new_logs
index 3b0310c..1acbbc2 100644
--- a/python/templates/includes/frontpage/new_logs
+++ b/python/templates/includes/frontpage/new_logs
@@ -9,7 +9,7 @@
{% if B.FailCode == 'OTHERS' %}
<span class="label label-info">{{ B.FailCode }}</span>
{% else %}
- <span class="label label-info">{{ B.FailCode }}</span>
+ <span class="label label-danger">{{ B.FailCode }}</span>
{% endif %}
{% else %}
<span class="label label-success">Build</span>