99c986df6c
Before this change, if a build was triggered by a build trigger that was subsequently deleted, we'd display "Manually triggered" for the build in the UI, even though we have sufficient metadata to show *nearly the same* normal build information. After this change, if we have said trigger metadata, we still display as much as we can. Fixes https://jira.coreos.com/browse/QUAY-855
18 lines
668 B
HTML
18 lines
668 B
HTML
<div class="build-info-bar-element" ng-class="build.phase">
|
|
<!-- Phase icon/color -->
|
|
<span class="phase-icon" ng-class="build.phase"></span>
|
|
|
|
<!-- Side information -->
|
|
<div class="build-side-info">
|
|
<!-- Build ID -->
|
|
<div class="build-side-id" ng-if="!hideId">{{ build.id }}</div>
|
|
|
|
<!-- Timing -->
|
|
<div class="timing" ng-if="showTime">
|
|
<i class="fa fa-clock-o"></i><time-ago datetime="build.started"></time-ago>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="triggered-build-description" build="build" ng-if="build.trigger || build.trigger_metadata"></div>
|
|
<div ng-if="!build.trigger && !build.trigger_metadata">Manually Started Build</div>
|
|
</div>
|