Fix setting route

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-16 17:49:08 -03:00
commit 9a9dc4b2dc
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 18 additions and 20 deletions

View file

@ -1,10 +1,8 @@
<ion-view>
<ion-nav-bar class="bar-royal">
<ion-nav-buttons side="primary">
<button class="button back-button" ui-sref="tabs.settings">
<i class="icon ion-ios-arrow-thin-left"></i>
</button>
</ion-nav-buttons>
<ion-nav-back-button>
<i class="icon ion-ios-arrow-thin-left"></i>
</ion-nav-back-button>
</ion-nav-bar>
<ion-content ng-controller="preferencesAbout">
<div class="list">
@ -27,17 +25,17 @@
</div>
<div class="item item-divider">
</div>
<a class="item item-icon-left item-icon-right" ui-sref="tabs.termsOfUse">
<a class="item item-icon-left item-icon-right" ui-sref="tabs.about.termsOfUse">
<i class="icon ion-ios-list-outline"></i>
<span translate>Terms of Use</span>
<i class="icon nav-item-arrow-right"></i>
</a>
<a class="item item-icon-left item-icon-right" ui-sref="tabs.translators">
<a class="item item-icon-left item-icon-right" ui-sref="tabs.about.translators">
<i class="icon ion-ios-people-outline"></i>
<span translate>Translators</span>
<i class="icon nav-item-arrow-right"></i>
</a>
<a class="item item-icon-left item-icon-right" ui-sref="tabs.logs">
<a class="item item-icon-left item-icon-right" ui-sref="tabs.about.logs">
<i class="icon ion-ios-copy-outline"></i>
<span translate>Session log</span>
<i class="icon nav-item-arrow-right"></i>

View file

@ -303,7 +303,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
.state('tabs.language', {
url: '/language',
views: {
'tab-settings': {
'tab-settings@tabs': {
templateUrl: 'views/preferencesLanguage.html'
}
}
@ -311,7 +311,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
.state('tabs.unit', {
url: '/unit',
views: {
'tab-settings': {
'tab-settings@tabs': {
templateUrl: 'views/preferencesUnit.html'
}
}
@ -319,7 +319,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
.state('tabs.fee', {
url: '/fee',
views: {
'tab-settings': {
'tab-settings@tabs': {
templateUrl: 'views/preferencesFee.html'
}
}
@ -327,7 +327,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
.state('tabs.altCurrency', {
url: '/altCurrency',
views: {
'tab-settings': {
'tab-settings@tabs': {
templateUrl: 'views/preferencesAltCurrency.html'
}
}
@ -335,31 +335,31 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
.state('tabs.about', {
url: '/about',
views: {
'tab-settings': {
'tab-settings@tabs': {
templateUrl: 'views/preferencesAbout.html'
}
}
})
.state('tabs.logs', {
.state('tabs.about.logs', {
url: '/logs',
views: {
'tab-settings': {
'tab-settings@tabs': {
templateUrl: 'views/preferencesLogs.html'
}
}
})
.state('tabs.termsOfUse', {
.state('tabs.about.termsOfUse', {
url: '/termsOfUse',
views: {
'tab-settings': {
'tab-settings@tabs': {
templateUrl: 'views/termsOfUse.html',
}
}
})
.state('tabs.translators', {
.state('tabs.about.translators', {
url: '/translators',
views: {
'tab-settings': {
'tab-settings@tabs': {
templateUrl: 'views/translators.html'
}
}
@ -375,7 +375,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
url: '/preferences/:walletId',
abstract: true,
views: {
'tab-settings': {
'tab-settings@tabs': {
template: '<ion-nav-view name="preferences"></ion-nav-view>'
},
}