Merge pull request #2165 from coreos-inc/typo-and-link-fixes

Typo and link fixes
This commit is contained in:
josephschorr 2016-11-30 14:00:16 -05:00 committed by GitHub
commit 244bf2a070
6 changed files with 10 additions and 8 deletions

View file

@ -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;
}
}());

View file

@ -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',