mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
add link to JSON task output
This commit is contained in:
parent
f48c7fa8c2
commit
87fe5f70ad
@ -12,6 +12,9 @@
|
||||
dd {{ task.endFormatted }}
|
||||
dt Created
|
||||
dd {{ task.createdFormatted }}
|
||||
dt Permalink
|
||||
dd
|
||||
a(href="{{ task.URL }}") Output
|
||||
dt Raw output
|
||||
dd: input(type="checkbox" ng-model="raw" title="show logs unbesmirched")
|
||||
|
||||
|
@ -44,7 +44,7 @@ define(['controllers/projects/taskRunner'], function() {
|
||||
if (!t.start || !t.end) {
|
||||
return;
|
||||
}
|
||||
|
||||
t.URL = '/api' + $scope.project.getURL() + '/tasks/' + t.id + '/output'
|
||||
t.duration = moment(t.end).diff(moment(t.start), 'minutes');
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user