Better 404 (and 403) pages

Fixes #1819
This commit is contained in:
Joseph Schorr 2016-09-21 13:53:09 -04:00
parent 502fa23d31
commit 4d5c65e6d4
12 changed files with 131 additions and 24 deletions

View file

@ -10,7 +10,7 @@
})
}]);
function NewRepoCtrl($scope, $location, $http, $timeout, UserService, ApiService, PlanService, TriggerService, Features) {
function NewRepoCtrl($scope, $location, $http, $timeout, $routeParams, UserService, ApiService, PlanService, TriggerService, Features) {
UserService.updateUserIn($scope);
$scope.Features = Features;
@ -19,7 +19,8 @@
$scope.repo = {
'is_public': 0,
'description': '',
'initialize': ''
'initialize': '',
'name': $routeParams['name']
};
$scope.changeNamespace = function(namespace) {