diff options
author | Adam Coldrick <adam@sotk.co.uk> | 2015-09-27 09:13:00 +0100 |
---|---|---|
committer | Adam Coldrick <adam@sotk.co.uk> | 2015-09-28 20:26:12 +0100 |
commit | f3899144173b26a943b0bbf1e6ea0926641c7433 (patch) | |
tree | 6360a8152bee2fa7601a16d71d8d7cf95fe1e214 | |
parent | 670a54cf0489daf64b84fe4d22ca121174c13d03 (diff) | |
download | ciat-ui-f3899144173b26a943b0bbf1e6ea0926641c7433.tar.gz |
Show step names
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | js/main.js | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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> @@ -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, |