summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.html4
-rw-r--r--js/main.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/index.html b/index.html
index 6f0b25b..cf81848 100644
--- a/index.html
+++ b/index.html
@@ -25,8 +25,8 @@
<p><strong>State:</strong> {{selected.data.state}}</p>
<p><strong>Most Recent Logs:</strong></p>
<ul>
- <li ng-repeat="(key, value) in selected.lastBuild.logs">
- <a ng-href="{{value[1]}}">{{key}} {{value[0]}}</a>
+ <li ng-repeat="step in selected.lastBuild.steps">
+ <a ng-href="{{step.logs[0][1]}}">{{step.name}} {{step.logs[0][0]}}</a>
</li>
</ul>
</div>
diff --git a/js/main.js b/js/main.js
index 6e67179..7f3fd24 100644
--- a/js/main.js
+++ b/js/main.js
@@ -34,7 +34,7 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval)
var details = {
success: checkInArray(response.data.text, 'successful'),
failed: checkInArray(response.data.text, 'failed'),
- logs: response.data.logs
+ steps: response.data.steps
};
$scope.steps.push({
name: key,