rename features to options

This commit is contained in:
Kyle Spearrin 2017-11-29 09:03:49 -05:00
parent 6f5ca980c2
commit 68f3f7a3bd
7 changed files with 14 additions and 17 deletions

View File

@ -492,9 +492,6 @@
"message": "No Folder",
"description": "This is the folder for uncategorized items"
},
"features": {
"message": "Features"
},
"gaDesc": {
"message": "We use analytics to better learn how the extension is being used so that we can make it better. All data collection is completely anonymous."
},

View File

@ -142,8 +142,8 @@ import { CreditsController } from './settings/credits.component';
CreditsController.$$ngIsClass = true;
import { EnvironmentController } from './settings/environment.component';
EnvironmentController.$$ngIsClass = true;
import { FeaturesController } from './settings/features.component';
FeaturesController.$$ngIsClass = true;
import { OptionsController } from './settings/options.component';
OptionsController.$$ngIsClass = true;
import { HelpController } from './settings/help.component';
HelpController.$$ngIsClass = true;
import { PremiumController } from './settings/premium.component';

View File

@ -195,9 +195,9 @@ angular
data: { authorize: true },
params: { animation: null }
})
.state('features', {
url: '/features',
component: 'features',
.state('options', {
url: '/options',
component: 'options',
data: { authorize: true },
params: { animation: null }
})

View File

@ -2,7 +2,7 @@
<div class="left">
<a ui-sref="tabs.settings({animation: 'out-slide-right'})"><i class="fa fa-chevron-left"></i> {{$ctrl.i18n.back}}</a>
</div>
<div class="title">{{$ctrl.i18n.features}}</div>
<div class="title">{{$ctrl.i18n.options}}</div>
</div>
<div class="content">
<div class="list">

View File

@ -1,9 +1,9 @@
import * as angular from 'angular';
import { UtilsService } from '../../../services/abstractions/utils.service';
import StateService from '../services/state.service';
import * as template from './features.component.html';
import * as template from './options.component.html';
export class FeaturesController {
export class OptionsController {
disableFavicon = false;
enableAutoFillOnPageLoad = false;
disableAutoTotpCopy = false;
@ -88,8 +88,8 @@ export class FeaturesController {
}
}
export const FeaturesComponent = {
export const OptionsComponent = {
bindings: {},
controller: FeaturesController,
controller: OptionsController,
template,
};

View File

@ -76,8 +76,8 @@
{{$ctrl.i18n.other}}
</div>
<div class="list-section-items">
<a class="list-section-item" ui-sref="features({animation: 'in-slide-left'})">
{{$ctrl.i18n.features}}
<a class="list-section-item" ui-sref="options({animation: 'in-slide-left'})">
{{$ctrl.i18n.options}}
<i class="fa fa-chevron-right fa-lg"></i>
</a>
<a class="list-section-item" ui-sref="about({animation: 'in-slide-left'})">

View File

@ -2,11 +2,11 @@ import * as angular from 'angular';
import { AboutComponent } from './about.component';
import { CreditsComponent } from './credits.component';
import { EnvironmentComponent } from './environment.component';
import { FeaturesComponent } from './features.component';
import { AddFolderComponent } from './folders/add-folder.component';
import { EditFolderComponent } from './folders/edit-folder.component';
import { FoldersComponent } from './folders/folders.component';
import { HelpComponent } from './help.component';
import { OptionsComponent } from './options.component';
import { PremiumComponent } from './premium.component';
import { SettingsComponent } from './settings.component';
import { SyncComponent } from './sync.component';
@ -16,7 +16,7 @@ export default angular
.component('settings', SettingsComponent)
.component('environment', EnvironmentComponent)
.component('features', FeaturesComponent)
.component('options', OptionsComponent)
.component('about', AboutComponent)
.component('credits', CreditsComponent)
.component('help', HelpComponent)