MOBILE-2493 ionic: Translate back button in iOS

main
Albert Gasset 2018-07-13 13:10:55 +02:00
parent 6b68d8b0bf
commit 12992df3c2
139 changed files with 225 additions and 119 deletions

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{badge.name}}</ion-title> <ion-title>{{badge.name}}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.badges.badges' | translate }}</ion-title> <ion-title>{{ 'addon.badges.badges' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.calendar.calendarevents' | translate }}</ion-title> <ion-title>{{ 'addon.calendar.calendarevents' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button *ngIf="courses && courses.length" ion-button icon-only (click)="openCourseFilter($event)" [attr.aria-label]="'core.courses.filter' | translate"> <button *ngIf="courses && courses.length" ion-button icon-only (click)="openCourseFilter($event)" [attr.aria-label]="'core.courses.filter' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.settings.settings' | translate }}</ion-title> <ion-title>{{ 'core.settings.settings' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -16,6 +16,7 @@ import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular'; import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { AddonCalendarSettingsPage } from './settings'; import { AddonCalendarSettingsPage } from './settings';
import { CoreDirectivesModule } from '@directives/directives.module';
import { CorePipesModule } from '@pipes/pipes.module'; import { CorePipesModule } from '@pipes/pipes.module';
@NgModule({ @NgModule({
@ -23,6 +24,7 @@ import { CorePipesModule } from '@pipes/pipes.module';
AddonCalendarSettingsPage, AddonCalendarSettingsPage,
], ],
imports: [ imports: [
CoreDirectivesModule,
CorePipesModule, CorePipesModule,
IonicPageModule.forChild(AddonCalendarSettingsPage), IonicPageModule.forChild(AddonCalendarSettingsPage),
TranslateModule.forChild() TranslateModule.forChild()

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ title }}</ion-title> <ion-title>{{ title }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -16,6 +16,7 @@ import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular'; import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
import { AddonCompetencyCompetenciesPage } from './competencies'; import { AddonCompetencyCompetenciesPage } from './competencies';
@NgModule({ @NgModule({
@ -24,6 +25,7 @@ import { AddonCompetencyCompetenciesPage } from './competencies';
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
IonicPageModule.forChild(AddonCompetencyCompetenciesPage), IonicPageModule.forChild(AddonCompetencyCompetenciesPage),
TranslateModule.forChild() TranslateModule.forChild()
], ],

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title *ngIf="competency">{{ competency.competency.competency.shortname }} <small>{{ competency.competency.competency.idnumber }}</small></ion-title> <ion-title *ngIf="competency">{{ competency.competency.competency.shortname }} <small>{{ competency.competency.competency.idnumber }}</small></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title *ngIf="competency">{{ competency.competency.shortname }} <small>{{ competency.competency.idnumber }}</small></ion-title> <ion-title *ngIf="competency">{{ competency.competency.shortname }} <small>{{ competency.competency.idnumber }}</small></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.competency.coursecompetencies' | translate }}</ion-title> <ion-title>{{ 'addon.competency.coursecompetencies' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -15,6 +15,7 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular'; import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreDirectivesModule } from '@directives/directives.module';
import { AddonCompetencyComponentsModule } from '../../components/components.module'; import { AddonCompetencyComponentsModule } from '../../components/components.module';
import { AddonCompetencyCourseCompetenciesPage } from './coursecompetencies'; import { AddonCompetencyCourseCompetenciesPage } from './coursecompetencies';
@ -23,6 +24,7 @@ import { AddonCompetencyCourseCompetenciesPage } from './coursecompetencies';
AddonCompetencyCourseCompetenciesPage, AddonCompetencyCourseCompetenciesPage,
], ],
imports: [ imports: [
CoreDirectivesModule,
IonicPageModule.forChild(AddonCompetencyCourseCompetenciesPage), IonicPageModule.forChild(AddonCompetencyCourseCompetenciesPage),
TranslateModule.forChild(), TranslateModule.forChild(),
AddonCompetencyComponentsModule AddonCompetencyComponentsModule

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title *ngIf="plan">{{plan.plan.name}}</ion-title> <ion-title *ngIf="plan">{{plan.plan.name}}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.competency.userplans' | translate }}</ion-title> <ion-title>{{ 'addon.competency.userplans' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -16,6 +16,7 @@ import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular'; import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
import { CorePipesModule } from '@pipes/pipes.module'; import { CorePipesModule } from '@pipes/pipes.module';
import { AddonCompetencyPlanListPage } from './planlist'; import { AddonCompetencyPlanListPage } from './planlist';
@ -25,6 +26,7 @@ import { AddonCompetencyPlanListPage } from './planlist';
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
CorePipesModule, CorePipesModule,
IonicPageModule.forChild(AddonCompetencyPlanListPage), IonicPageModule.forChild(AddonCompetencyPlanListPage),
TranslateModule.forChild() TranslateModule.forChild()

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.coursecompletion.coursecompletion' | translate }}</ion-title> <ion-title>{{ 'addon.coursecompletion.coursecompletion' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.messageoutput_airnotifier.processorsettingsdesc' | translate }}</ion-title> <ion-title>{{ 'addon.messageoutput_airnotifier.processorsettingsdesc' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -16,6 +16,7 @@ import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular'; import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
import { AddonMessageOutputAirnotifierDevicesPage } from './devices'; import { AddonMessageOutputAirnotifierDevicesPage } from './devices';
@NgModule({ @NgModule({
@ -24,6 +25,7 @@ import { AddonMessageOutputAirnotifierDevicesPage } from './devices';
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
IonicPageModule.forChild(AddonMessageOutputAirnotifierDevicesPage), IonicPageModule.forChild(AddonMessageOutputAirnotifierDevicesPage),
TranslateModule.forChild() TranslateModule.forChild()
], ],

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end></ion-buttons> <ion-buttons end></ion-buttons>
</ion-navbar> </ion-navbar>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.messages.messages' | translate }}</ion-title> <ion-title>{{ 'addon.messages.messages' | translate }}</ion-title>
<ion-buttons end></ion-buttons> <ion-buttons end></ion-buttons>
</ion-navbar> </ion-navbar>

View File

@ -17,6 +17,7 @@ import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { AddonMessagesIndexPage } from './index'; import { AddonMessagesIndexPage } from './index';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
import { AddonMessagesComponentsModule } from '../../components/components.module'; import { AddonMessagesComponentsModule } from '../../components/components.module';
@NgModule({ @NgModule({
@ -25,6 +26,7 @@ import { AddonMessagesComponentsModule } from '../../components/components.modul
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
AddonMessagesComponentsModule, AddonMessagesComponentsModule,
IonicPageModule.forChild(AddonMessagesIndexPage), IonicPageModule.forChild(AddonMessagesIndexPage),
TranslateModule.forChild() TranslateModule.forChild()

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.messages.messagepreferences' | translate }}</ion-title> <ion-title>{{ 'addon.messages.messagepreferences' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="plugin.name"></core-format-text></ion-title> <ion-title><core-format-text [text]="plugin.name"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end></ion-buttons> <ion-buttons end></ion-buttons>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end></ion-buttons> <ion-buttons end></ion-buttons>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>
<button *ngIf="loaded" ion-button icon-only (click)="showChatUsers()"> <button *ngIf="loaded" ion-button icon-only (click)="showChatUsers()">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_chat.currentusers' | translate }}</ion-title> <ion-title>{{ 'addon.mod_chat.currentusers' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button clear (click)="save()" [attr.aria-label]="'core.save' | translate"> <button ion-button clear (click)="save()" [attr.aria-label]="'core.save' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_data.search' | translate }}</ion-title> <ion-title>{{ 'addon.mod_data.search' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]=" attempt.fullname "></core-format-text></ion-title> <ion-title><core-format-text [text]=" attempt.fullname "></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]=" title "></core-format-text></ion-title> <ion-title><core-format-text [text]=" title "></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_feedback.responses' |translate }}</ion-title> <ion-title>{{ 'addon.mod_feedback.responses' |translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_feedback.responses' |translate }}</ion-title> <ion-title>{{ 'addon.mod_feedback.responses' |translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title *ngIf="discussion"><core-format-text [text]="discussion.subject"></core-format-text></ion-title> <ion-title *ngIf="discussion"><core-format-text [text]="discussion.subject"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>
<!-- The context menu will be added in here. --> <!-- The context menu will be added in here. -->

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_forum.addanewdiscussion' | translate }}</ion-title> <ion-title>{{ 'addon.mod_forum.addanewdiscussion' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<!-- The context menu will be added in here. --> <!-- The context menu will be added in here. -->

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="module.name"></core-format-text></ion-title> <ion-title><core-format-text [text]="module.name"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button (click)="save()"> {{ 'core.save' | translate }}</button> <button ion-button (click)="save()"> {{ 'core.save' | translate }}</button>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title *ngIf="entry"><core-format-text [text]="entry.concept"></core-format-text></ion-title> <ion-title *ngIf="entry"><core-format-text [text]="entry.concept"></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ pageInstance.lesson.name }}</ion-title> <ion-title>{{ pageInstance.lesson.name }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.login.password' | translate }}</ion-title> <ion-title>{{ 'core.login.password' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_lesson.detailedstats' | translate }}</ion-title> <ion-title>{{ 'addon.mod_lesson.detailedstats' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text *ngIf="quiz" [text]="quiz.name"></core-format-text></ion-title> <ion-title><core-format-text *ngIf="quiz" [text]="quiz.name"></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_quiz.quiznavigation' | translate }}</ion-title> <ion-title>{{ 'addon.mod_quiz.quiznavigation' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -16,12 +16,14 @@ import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular'; import { IonicPageModule } from 'ionic-angular';
import { AddonModQuizNavigationModalPage } from './navigation-modal'; import { AddonModQuizNavigationModalPage } from './navigation-modal';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreDirectivesModule } from '@directives/directives.module';
@NgModule({ @NgModule({
declarations: [ declarations: [
AddonModQuizNavigationModalPage AddonModQuizNavigationModalPage
], ],
imports: [ imports: [
CoreDirectivesModule,
IonicPageModule.forChild(AddonModQuizNavigationModalPage), IonicPageModule.forChild(AddonModQuizNavigationModalPage),
TranslateModule.forChild() TranslateModule.forChild()
] ]

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text *ngIf="quiz" [text]="quiz.name"></core-format-text></ion-title> <ion-title><core-format-text *ngIf="quiz" [text]="quiz.name"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ title | translate }}</ion-title> <ion-title>{{ title | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -17,6 +17,7 @@ import { IonicPageModule } from 'ionic-angular';
import { AddonModQuizPreflightModalPage } from './preflight-modal'; import { AddonModQuizPreflightModalPage } from './preflight-modal';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
@NgModule({ @NgModule({
declarations: [ declarations: [
@ -24,6 +25,7 @@ import { CoreComponentsModule } from '@components/components.module';
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
IonicPageModule.forChild(AddonModQuizPreflightModalPage), IonicPageModule.forChild(AddonModQuizPreflightModalPage),
TranslateModule.forChild() TranslateModule.forChild()
] ]

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_quiz.review' | translate }}</ion-title> <ion-title>{{ 'addon.mod_quiz.review' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end [hidden]="!evaluating"> <ion-buttons end [hidden]="!evaluating">
<button ion-button clear (click)="saveEvaluation()" [attr.aria-label]="'core.save' | translate"> <button ion-button clear (click)="saveEvaluation()" [attr.aria-label]="'core.save' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_workshop.editsubmission' | translate }}</ion-title> <ion-title>{{ 'addon.mod_workshop.editsubmission' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button clear (click)="save()" [attr.aria-label]="'core.save' | translate"> <button ion-button clear (click)="save()" [attr.aria-label]="'core.save' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.mod_workshop.selectphase' | translate }}</ion-title> <ion-title>{{ 'addon.mod_workshop.selectphase' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end [hidden]="!loaded"> <ion-buttons end [hidden]="!loaded">
<button *ngIf="assessmentId" ion-button clear (click)="saveAssessment()" [attr.aria-label]="'core.save' | translate"> <button *ngIf="assessmentId" ion-button clear (click)="saveAssessment()" [attr.aria-label]="'core.save' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.notes.addnewnote' | translate }}</ion-title> <ion-title>{{ 'addon.notes.addnewnote' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.notifications.notifications' | translate }}</ion-title> <ion-title>{{ 'addon.notifications.notifications' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'addon.notifications.notificationpreferences' | translate }}</ion-title> <ion-title>{{ 'addon.notifications.notificationpreferences' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
</ion-buttons> </ion-buttons>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.login.security_question' | translate }}</ion-title> <ion-title>{{ 'core.login.security_question' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>&nbsp;</ion-title> <ion-title>&nbsp;</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.contentlinks.chooseaccount' | translate }}</ion-title> <ion-title>{{ 'core.contentlinks.chooseaccount' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.course.sections' | translate }}</ion-title> <ion-title>{{ 'core.course.sections' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>
<button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate"> <button ion-button icon-only (click)="closeModal()" [attr.aria-label]="'core.close' | translate">

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
<ion-buttons end></ion-buttons> <ion-buttons end></ion-buttons>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="module.name"></core-format-text></ion-title> <ion-title><core-format-text [text]="module.name"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.courses.availablecourses' | translate }}</ion-title> <ion-title>{{ 'core.courses.availablecourses' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -17,6 +17,7 @@ import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreCoursesAvailableCoursesPage } from './available-courses'; import { CoreCoursesAvailableCoursesPage } from './available-courses';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
import { CoreCoursesComponentsModule } from '../../components/components.module'; import { CoreCoursesComponentsModule } from '../../components/components.module';
@NgModule({ @NgModule({
@ -25,6 +26,7 @@ import { CoreCoursesComponentsModule } from '../../components/components.module'
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
IonicPageModule.forChild(CoreCoursesAvailableCoursesPage), IonicPageModule.forChild(CoreCoursesAvailableCoursesPage),
TranslateModule.forChild() TranslateModule.forChild()

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="title"></core-format-text></ion-title> <ion-title><core-format-text [text]="title"></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="course.fullname"></core-format-text></ion-title> <ion-title><core-format-text [text]="course.fullname"></core-format-text></ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.courses.mycourses' | translate }}</ion-title> <ion-title>{{ 'core.courses.mycourses' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -17,6 +17,7 @@ import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreCoursesMyCoursesPage } from './my-courses'; import { CoreCoursesMyCoursesPage } from './my-courses';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
import { CoreCoursesComponentsModule } from '../../components/components.module'; import { CoreCoursesComponentsModule } from '../../components/components.module';
@NgModule({ @NgModule({
@ -25,6 +26,7 @@ import { CoreCoursesComponentsModule } from '../../components/components.module'
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
IonicPageModule.forChild(CoreCoursesMyCoursesPage), IonicPageModule.forChild(CoreCoursesMyCoursesPage),
TranslateModule.forChild() TranslateModule.forChild()

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title><core-format-text [text]="siteName"></core-format-text></ion-title> <ion-title><core-format-text [text]="siteName"></core-format-text></ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.courses.searchcourses' | translate }}</ion-title> <ion-title>{{ 'core.courses.searchcourses' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

View File

@ -17,6 +17,7 @@ import { IonicPageModule } from 'ionic-angular';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreCoursesSearchPage } from './search'; import { CoreCoursesSearchPage } from './search';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
import { CoreCoursesComponentsModule } from '../../components/components.module'; import { CoreCoursesComponentsModule } from '../../components/components.module';
@NgModule({ @NgModule({
@ -25,6 +26,7 @@ import { CoreCoursesComponentsModule } from '../../components/components.module'
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
IonicPageModule.forChild(CoreCoursesSearchPage), IonicPageModule.forChild(CoreCoursesSearchPage),
TranslateModule.forChild() TranslateModule.forChild()

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.courses.selfenrolment' | translate }}</ion-title> <ion-title>{{ 'core.courses.selfenrolment' | translate }}</ion-title>
<ion-buttons end> <ion-buttons end>

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-buttons start> <ion-buttons start>
<button ion-button (click)="cancel()">{{ 'core.cancel' | translate }}</button> <button ion-button (click)="cancel()">{{ 'core.cancel' | translate }}</button>
</ion-buttons> </ion-buttons>

View File

@ -17,6 +17,7 @@ import { IonicPageModule } from 'ionic-angular';
import { CoreEmulatorCaptureMediaPage } from './capture-media'; import { CoreEmulatorCaptureMediaPage } from './capture-media';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
import { CoreComponentsModule } from '@components/components.module'; import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
@NgModule({ @NgModule({
declarations: [ declarations: [
@ -24,6 +25,7 @@ import { CoreComponentsModule } from '@components/components.module';
], ],
imports: [ imports: [
CoreComponentsModule, CoreComponentsModule,
CoreDirectivesModule,
IonicPageModule.forChild(CoreEmulatorCaptureMediaPage), IonicPageModule.forChild(CoreEmulatorCaptureMediaPage),
TranslateModule.forChild() TranslateModule.forChild()
] ]

View File

@ -1,5 +1,5 @@
<ion-header> <ion-header>
<ion-navbar> <ion-navbar core-back-button>
<ion-title>{{ 'core.grades.grades' | translate }}</ion-title> <ion-title>{{ 'core.grades.grades' | translate }}</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>

Some files were not shown because too many files have changed in this diff Show More