- Make sure to send the subdirectory when restarting a build

- Make sure to use the subdirectory to read the Dockerfile's location in a build package, and display the path
- Nicer UI for showing the trigger description in the build view
- Fix an NPE in the file change tree
This commit is contained in:
Joseph Schorr 2014-03-05 16:27:56 -05:00
parent 3006b7b749
commit 89d9bcd894
8 changed files with 51 additions and 8 deletions

View file

@ -37,6 +37,7 @@
<div class="tab-content">
<!-- Dockerfile view -->
<div class="tab-pane active" id="dockerfile">
<div class="dockerfile-path">{{ dockerFilePath }}</div>
<div class="dockerfile-view" contents="dockerFileContents"></div>
<span ng-show="!dockerFileContents">No Dockerfile found in the build pack</span>
</div>

View file

@ -40,7 +40,7 @@
<div class="tab-content" onresize="adjustLogHeight()">
<div ng-repeat="build in builds" class="tab-pane build-pane" ng-class="currentBuild == build ? 'active' : ''">
<div class="alert alert-info" ng-show="build.trigger">
Triggered by: <span class="trigger-description" trigger="build.trigger" style="margin-left: 10px"></span>
Triggered by: <span class="trigger-description" trigger="build.trigger" short="true" style="margin-left: 10px"></span>
</div>
<div class="build-header">