Fix display for builds which have fully expired

Fixes #1663
This commit is contained in:
Joseph Schorr 2016-08-03 18:08:04 -04:00
parent 432bdc7e3e
commit b7bde27b3c
12 changed files with 164 additions and 149 deletions

View file

@ -34,7 +34,7 @@
<span class="cor-loader"></span>
</div>
<div ng-show="!loadError && !pollChannel.skipping">
<div ng-show="!loadError && !pollChannel.skipping && currentBuild.phase != 'expired'">
<span class="no-logs" ng-if="!logEntries.length && currentBuild.phase == 'waiting'">
(Waiting for build to start)
</span>

View file

@ -3,6 +3,7 @@
<span ng-if="!isBuilding(build)">
<i class="fa fa-check-circle" ng-if="build.phase == 'complete'"></i>
<i class="fa fa-times-circle" ng-if="build.phase == 'error'"></i>
<i class="fa fa-exclamation-circle" ng-if="build.phase == 'expired'"></i>
<i class="fa fa-exclamation-circle" ng-if="build.phase == 'internalerror'"></i>
</span>
</span>