commit: 42327597334a2350d1c3de4270790dfad984086d
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 4 22:54:33 2016 +0000
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Thu Feb 4 22:54:33 2016 +0000
URL:
https://gitweb.gentoo.org/proj/tinderbox-cluster-www.git/commit/?id=42327597
update buildinfo to packages typo fix
python/tbc_www/views.py | 2 +-
python/templates/includes/frontpage/new_logs | 2 +-
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>