diff --git a/public/html/projects/taskModal.pug b/public/html/projects/taskModal.pug index 0536ac59..416aa9b0 100644 --- a/public/html/projects/taskModal.pug +++ b/public/html/projects/taskModal.pug @@ -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") diff --git a/public/js/controllers/projects/dashboard.js b/public/js/controllers/projects/dashboard.js index eb8702cb..f1f0e3de 100644 --- a/public/js/controllers/projects/dashboard.js +++ b/public/js/controllers/projects/dashboard.js @@ -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'); }); });