translate to mysensebox component

development
Thiemann96 5 years ago
parent 8c00e7eeec
commit 01cf9073c2

@ -42,7 +42,7 @@ export class openSenseApp {
},
{
title: 'MENU.MYSENSEBOX',
icon: "settings",
icon: "person",
component : 'LoginPage'
}
];

@ -1,15 +1,10 @@
<!--
Generated template for the MySenseBoxPage page.
See http://ionicframework.com/docs/components/#navigation for more info on
Ionic pages and navigation.
-->
<ion-header>
<ion-navbar>
<ion-title>mySenseBox</ion-title>
<button ion-button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>{{'MYSENSEBOX.TITLE' | translate}}</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<ion-grid>

@ -1,12 +1,14 @@
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { MySenseBoxPage } from './my-sense-box';
import { TranslateModule } from '@ngx-translate/core';
@NgModule({
declarations: [
MySenseBoxPage,
],
imports: [
TranslateModule,
IonicPageModule.forChild(MySenseBoxPage),
],
})

@ -1,6 +1,5 @@
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import {LoginProvider} from "../../providers/LoginProvider/LoginProvider";
import { SensorsPage } from '../sensors/sensors';
import { ConfigurationPage } from '../configuration/configuration';
/**
@ -20,7 +19,6 @@ export class MySenseBoxPage {
private token:string = this.navParams.data[1];
constructor(public navCtrl: NavController,
public navParams: NavParams,
private loginProvider: LoginProvider
) {
}

Loading…
Cancel
Save