Add feedback to prototype manager, application manager and the builds tab

This commit is contained in:
Joseph Schorr 2015-07-14 12:39:49 +03:00
parent fd354469da
commit ab47089872
6 changed files with 34 additions and 0 deletions

View file

@ -38,6 +38,8 @@ angular.module('quay').directive('repoPanelBuilds', function () {
$scope.triggerCredentialsModalTrigger = null;
$scope.triggerCredentialsModalCounter = 0;
$scope.feedback = null;
var updateBuilds = function() {
if (!$scope.allBuilds) { return; }
@ -264,6 +266,14 @@ angular.module('quay').directive('repoPanelBuilds', function () {
$scope.allBuilds.push(build);
}
updateBuilds();
$scope.feedback = {
'kind': 'info',
'message': 'Build {buildid} started',
'data': {
'buildid': build.id
}
};
};
}
};