Only show the "Waiting" message if we are actually waiting

This commit is contained in:
Joseph Schorr 2015-03-06 14:10:07 -05:00
parent 8662c3b693
commit 91ea6b5a45
2 changed files with 6 additions and 3 deletions

View file

@ -5,7 +5,9 @@
<span class="cor-loader" ng-if="!logEntries"></span>
<span class="no-logs" ng-if="!logEntries.length">(Waiting for build to start)</span>
<span class="no-logs" ng-if="!logEntries.length && currentBuild.phase == 'waiting'">
(Waiting for build to start)
</span>
<div class="log-container" ng-class="container.type" ng-repeat="container in logEntries">
<div class="container-header" ng-class="container.type == 'phase' ? container.message : ''"