mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-02 07:58:55 +00:00
removed unused js and css files, remoted html5 notifications (for now)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('app').controller("RepoController", function($scope, $http, $routeParams, $route, repos, feed, repo, notify) {
|
||||
angular.module('app').controller("RepoController", function($scope, $http, $routeParams, $route, repos, feed, repo) {
|
||||
$scope.repo = repo;
|
||||
|
||||
// subscribes to the global feed to receive
|
||||
@@ -15,12 +15,9 @@ angular.module('app').controller("RepoController", function($scope, $http, $rout
|
||||
$scope.msg = item;
|
||||
$scope.$apply();
|
||||
} else {
|
||||
// we trigger an html5 notification so the
|
||||
// we trigger a toast (or html5) notification so the
|
||||
// user is aware another build started
|
||||
notify.sendCommit(
|
||||
item.repo,
|
||||
item.commit
|
||||
);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user