Merge pull request #1798 from cmgustavo/ux/user-menu

Removed createWallet page. Added link for create, join and import to the...
This commit is contained in:
Matias Alejo Garcia 2014-11-13 12:08:05 -03:00
commit 0c3a6f76cf
10 changed files with 28 additions and 31 deletions

View file

@ -9,7 +9,7 @@ angular.module('copayApp.controllers').controller('CreateController',
$scope.isMobile = !!window.cordova;
$scope.hideAdv = true;
$scope.networkName = config.networkName;
$rootScope.title = 'Create a wallet';
$rootScope.title = 'Add new wallet';
// ng-repeat defined number of times instead of repeating over array?
$scope.getNumber = function(num) {

View file

@ -5,7 +5,7 @@ angular.module('copayApp.controllers').controller('JoinController',
$rootScope.fromSetup = false;
$scope.loading = false;
$scope.isMobile = !!window.cordova;
$rootScope.title = 'Join a wallet';
$rootScope.title = 'Join an existent wallet';
// QR code Scanner
var cameraInput;

View file

@ -76,10 +76,6 @@ angular
.when('/profile', {
templateUrl: 'views/profile.html',
logged: true
})
.when('/createWallet', {
templateUrl: 'views/createWallet.html',
logged: true
});
if (config.developmentFeatures) {

View file

@ -231,7 +231,7 @@ angular.module('copayApp.services')
if (w) {
root.setFocusedWallet(w);
} else {
$location.path('/createWallet');
$location.path('/create');
}
$timeout(function() {
$rootScope.$digest()