diff options
author | Adam Coldrick <adam@sotk.co.uk> | 2015-09-27 09:32:21 +0100 |
---|---|---|
committer | Adam Coldrick <adam@sotk.co.uk> | 2015-09-28 20:26:12 +0100 |
commit | 2b1e2b3203859f1034f4027cc54ef882301bb2ac (patch) | |
tree | 979346f26462666aa9424491ed326d35de368781 | |
parent | f3899144173b26a943b0bbf1e6ea0926641c7433 (diff) | |
download | ciat-ui-2b1e2b3203859f1034f4027cc54ef882301bb2ac.tar.gz |
Timestamp
-rw-r--r-- | index.html | 3 | ||||
-rw-r--r-- | js/main.js | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -23,7 +23,8 @@ <h3>{{selected.name}}</h3> <div class="detail-contents"> <p><strong>State:</strong> {{selected.data.state}}</p> - <p><strong>Most Recent Logs:</strong></p> + <p><strong>Last Build:</strong> {{selected.lastBuild.number}} at {{selected.lastBuild.sourceStamps[0].changes[0].at}} + <p><strong>Logs for {{selected.lastBuild.number}}:</strong></p> <ul> <li ng-repeat="step in selected.lastBuild.steps"> <a ng-href="{{step.logs[0][1]}}">{{step.name}} {{step.logs[0][0]}}</a> @@ -34,7 +34,9 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) var details = { success: checkInArray(response.data.text, 'successful'), failed: checkInArray(response.data.text, 'failed'), - steps: response.data.steps + steps: response.data.steps, + sourceStamps: response.data.sourceStamps, + number: response.data.number }; $scope.steps.push({ name: key, |