Merge pull request #2165 from coreos-inc/typo-and-link-fixes
Typo and link fixes
This commit is contained in:
commit
244bf2a070
6 changed files with 10 additions and 8 deletions
|
@ -11,7 +11,7 @@
|
|||
}]);
|
||||
|
||||
function ErrorViewCtrl($scope, ApiService, $routeParams, UserService) {
|
||||
$scope.info = window.__error_info || {};
|
||||
$scope.info = window.__error_info;
|
||||
$scope.code = window.__error_code || 404;
|
||||
}
|
||||
}());
|
|
@ -48,7 +48,9 @@ function($rootScope, $interval, UserService, ApiService, StringBuilderService, P
|
|||
'password_required': {
|
||||
'level': 'error',
|
||||
'message': 'In order to begin pushing and pulling repositories, a password must be set for your account',
|
||||
'page': '/user?tab=password'
|
||||
'page': function(metadata) {
|
||||
return '/user/' + UserService.currentUser()['username'] + '?tab=settings';
|
||||
}
|
||||
},
|
||||
'over_private_usage': {
|
||||
'level': 'error',
|
||||
|
|
Reference in a new issue