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;
[% ELSIF buildstatus == 1 %]
- [% ELSIF buildstatus == 2 %]
+ [% ELSIF buildstatus == 2 || buildstatus == 5 %]
[% ELSIF buildstatus == 4 %]
- [% ELSIF buildstatus == 5 %]
-
[% ELSIF buildstatus == 6 %]
[% 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 %]