mirror of https://github.com/BTCPrivate/copay.git
fix nested views
This commit is contained in:
parent
7b42c2e11a
commit
e6f0295386
|
@ -96,79 +96,94 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
||||||
.state('wallet', {
|
.state('wallet', {
|
||||||
url: '/wallet/{walletId}',
|
url: '/wallet/{walletId}',
|
||||||
abstract: true,
|
abstract: true,
|
||||||
|
cache: false,
|
||||||
needProfile: true,
|
needProfile: true,
|
||||||
views: {
|
views: {
|
||||||
'main': {
|
'main': {
|
||||||
template: '<ui-view/>',
|
template: '<ion-nav-view/>',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.state('wallet.details', {
|
.state('wallet.details', {
|
||||||
|
cache: false,
|
||||||
url: '/details',
|
url: '/details',
|
||||||
templateUrl: 'views/walletDetails.html',
|
templateUrl: 'views/walletDetails.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.preferences', {
|
.state('wallet.preferences', {
|
||||||
|
cache: false,
|
||||||
url: '/preferences',
|
url: '/preferences',
|
||||||
templateUrl: 'views/preferences.html',
|
templateUrl: 'views/preferences.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.preferencesAlias', {
|
.state('wallet.preferencesAlias', {
|
||||||
|
cache: false,
|
||||||
url: '/preferencesAlias',
|
url: '/preferencesAlias',
|
||||||
templateUrl: 'views/preferencesAlias.html',
|
templateUrl: 'views/preferencesAlias.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.preferencesColor', {
|
.state('wallet.preferencesColor', {
|
||||||
|
cache: false,
|
||||||
url: '/preferencesColor',
|
url: '/preferencesColor',
|
||||||
templateUrl: 'views/preferencesColor.html',
|
templateUrl: 'views/preferencesColor.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.preferencesEmail', {
|
.state('wallet.preferencesEmail', {
|
||||||
|
cache: false,
|
||||||
url: '/preferencesEmail',
|
url: '/preferencesEmail',
|
||||||
templateUrl: 'views/preferencesEmail.html',
|
templateUrl: 'views/preferencesEmail.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.backup', {
|
.state('wallet.backup', {
|
||||||
|
cache: false,
|
||||||
url: '/backup',
|
url: '/backup',
|
||||||
templateUrl: 'views/backup.html',
|
templateUrl: 'views/backup.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.preferencesAdvanced', {
|
.state('wallet.preferencesAdvanced', {
|
||||||
|
cache: false,
|
||||||
url: '/preferencesAdvanced',
|
url: '/preferencesAdvanced',
|
||||||
templateUrl: 'views/preferencesAdvanced.html',
|
templateUrl: 'views/preferencesAdvanced.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.information', {
|
.state('wallet.information', {
|
||||||
|
cache: false,
|
||||||
url: '/information',
|
url: '/information',
|
||||||
templateUrl: 'views/preferencesInformation.html',
|
templateUrl: 'views/preferencesInformation.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.export', {
|
.state('wallet.export', {
|
||||||
|
cache: false,
|
||||||
url: '/export',
|
url: '/export',
|
||||||
templateUrl: 'views/export.html',
|
templateUrl: 'views/export.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.preferencesBwsUrl', {
|
.state('wallet.preferencesBwsUrl', {
|
||||||
|
cache: false,
|
||||||
url: '/preferencesBwsUrl',
|
url: '/preferencesBwsUrl',
|
||||||
templateUrl: 'views/preferencesBwsUrl.html',
|
templateUrl: 'views/preferencesBwsUrl.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.preferencesHistory', {
|
.state('wallet.preferencesHistory', {
|
||||||
|
cache: false,
|
||||||
url: '/preferencesHistory',
|
url: '/preferencesHistory',
|
||||||
templateUrl: 'views/preferencesHistory.html',
|
templateUrl: 'views/preferencesHistory.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.deleteWords', {
|
.state('wallet.deleteWords', {
|
||||||
|
cache: false,
|
||||||
url: '/deleteWords',
|
url: '/deleteWords',
|
||||||
templateUrl: 'views/preferencesDeleteWords.html',
|
templateUrl: 'views/preferencesDeleteWords.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.delete', {
|
.state('wallet.delete', {
|
||||||
|
cache: false,
|
||||||
url: '/delete',
|
url: '/delete',
|
||||||
templateUrl: 'views/preferencesDeleteWallet.html',
|
templateUrl: 'views/preferencesDeleteWallet.html',
|
||||||
needProfile: true
|
needProfile: true
|
||||||
})
|
})
|
||||||
.state('wallet.copayers', {
|
.state('wallet.copayers', {
|
||||||
|
cache: false,
|
||||||
url: '/copayers',
|
url: '/copayers',
|
||||||
needProfile: true,
|
needProfile: true,
|
||||||
cache: false,
|
cache: false,
|
||||||
|
|
Loading…
Reference in New Issue