From 82e073d043c16368e76064ebaa59b70e16f7b5fc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 28 Aug 2013 09:06:31 +0000 Subject: [PATCH] Show build status 2 and 5 in the same way (Status 5 is obsolete.) --- src/root/common.tt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/root/common.tt b/src/root/common.tt index 6e684087..5780afad 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -198,12 +198,10 @@ BLOCK renderBuildStatusIcon; Succeeded [% ELSIF buildstatus == 1 %] Failed - [% ELSIF buildstatus == 2 %] + [% ELSIF buildstatus == 2 || buildstatus == 5 %] Dependency failed [% ELSIF buildstatus == 4 %] Cancelled - [% ELSIF buildstatus == 5 %] - Failed [% ELSIF buildstatus == 6 %] Failed (with result) [% ELSE %] @@ -225,12 +223,10 @@ BLOCK renderStatus; Success [% ELSIF buildstatus == 1 %] Build returned a non-zero exit code - [% ELSIF buildstatus == 2 %] + [% ELSIF buildstatus == 2 || buildstatus == 5 %] A dependency of the build failed [% ELSIF buildstatus == 4 %] Cancelled by user - [% ELSIF buildstatus == 5 %] - Build inhibited because a dependency previously failed to build [% ELSIF buildstatus == 6 %] Build failed (with result) [% ELSE %]