Better messaging when creating a user on the landing page

Fixes #230
This commit is contained in:
Joseph Schorr 2015-07-14 14:00:29 +03:00
parent 9453d67c32
commit 634190d1f9
6 changed files with 28 additions and 12 deletions

View file

@ -12,6 +12,7 @@
function LandingCtrl($scope, $location, UserService, ApiService, Features, Config) {
$scope.namespace = null;
$scope.currentScreenshot = 'repo-view';
$scope.userRegistered = false;
$scope.$watch('namespace', function(namespace) {
loadMyRepos(namespace);
@ -26,6 +27,10 @@
loadMyRepos($scope.namespace);
});
$scope.handleUserRegistered = function() {
$scope.userRegistered = true;
};
$scope.changeScreenshot = function(screenshot) {
$scope.currentScreenshot = screenshot;
};