MOBILE-2308 core: Add segment name to avoid collisions

main
Pau Ferrer Ocaña 2018-01-11 16:30:53 +01:00
parent 27c715081c
commit 2cdeda17ee
28 changed files with 28 additions and 28 deletions

View File

@ -27,7 +27,7 @@ import * as moment from 'moment';
/**
* Page that displays a single calendar event.
*/
@IonicPage()
@IonicPage({segment: "addon-calendar-event"})
@Component({
selector: 'page-addon-calendar-event',
templateUrl: 'event.html',

View File

@ -30,7 +30,7 @@ import { CoreSplitViewComponent } from '../../../../components/split-view/split-
/**
* Page that displays the list of calendar events.
*/
@IonicPage()
@IonicPage({segment: "addon-calendar-list"})
@Component({
selector: 'page-addon-calendar-list',
templateUrl: 'list.html',

View File

@ -21,7 +21,7 @@ import { CoreSitesProvider } from '../../../../providers/sites';
/**
* Page that displays the calendar settings.
*/
@IonicPage()
@IonicPage({segment: "addon-calendar-settings"})
@Component({
selector: 'page-addon-calendar-settings',
templateUrl: 'settings.html',

View File

@ -4,7 +4,7 @@ import {
NavController,
NavParams } from 'ionic-angular';
@IonicPage()
@IonicPage({segment: "core-placeholder"})
@Component({
selector: 'core-placeholder',
templateUrl: 'placeholder.html',

View File

@ -21,7 +21,7 @@ import { CoreCoursesProvider } from '../../providers/courses';
/**
* Page that displays available courses in current site.
*/
@IonicPage()
@IonicPage({segment: "core-courses-available-courses"})
@Component({
selector: 'page-core-courses-available-courses',
templateUrl: 'available-courses.html',

View File

@ -23,7 +23,7 @@ import { CoreCoursesProvider } from '../../providers/courses';
/**
* Page that displays a list of categories and the courses in the current category if any.
*/
@IonicPage()
@IonicPage({segment: "core-courses-categories"})
@Component({
selector: 'page-core-courses-categories',
templateUrl: 'categories.html',

View File

@ -26,7 +26,7 @@ import { CoreCoursesDelegate } from '../../providers/delegate';
/**
* Page that allows "previewing" a course and enrolling in it if enabled and not enrolled.
*/
@IonicPage()
@IonicPage({segment: "core-courses-course-preview"})
@Component({
selector: 'page-core-courses-course-preview',
templateUrl: 'course-preview.html',

View File

@ -22,7 +22,7 @@ import { CoreCoursesProvider } from '../../providers/courses';
/**
* Page that displays the list of courses the user is enrolled in.
*/
@IonicPage()
@IonicPage({segment: "core-courses-my-courses"})
@Component({
selector: 'page-core-courses-my-courses',
templateUrl: 'my-courses.html',

View File

@ -22,7 +22,7 @@ import * as moment from 'moment';
/**
* Page that displays My Overview.
*/
@IonicPage()
@IonicPage({segment: "core-courses-my-overview"})
@Component({
selector: 'page-core-courses-my-overview',
templateUrl: 'my-overview.html',

View File

@ -20,7 +20,7 @@ import { CoreCoursesProvider } from '../../providers/courses';
/**
* Page that allows searching for courses.
*/
@IonicPage()
@IonicPage({segment: "core-courses-search"})
@Component({
selector: 'page-core-courses-search',
templateUrl: 'search.html',

View File

@ -18,7 +18,7 @@ import { IonicPage, ViewController } from 'ionic-angular';
/**
* Page that displays a form to enter a password to self enrol in a course.
*/
@IonicPage()
@IonicPage({segment: "core-courses-self-enrol-password"})
@Component({
selector: 'page-core-courses-self-enrol-password',
templateUrl: 'self-enrol-password.html',

View File

@ -22,7 +22,7 @@ import { CoreTimeUtilsProvider } from '../../../../providers/utils/time';
/**
* Page to capture media in browser or desktop.
*/
@IonicPage()
@IonicPage({segment: "core-emulator-capture-media"})
@Component({
selector: 'page-core-emulator-capture-media',
templateUrl: 'capture-media.html',

View File

@ -26,7 +26,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
/**
* Page to enter the user credentials.
*/
@IonicPage()
@IonicPage({segment: "core-login-credentials"})
@Component({
selector: 'page-core-login-credentials',
templateUrl: 'credentials.html',

View File

@ -26,7 +26,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
/**
* Page to signup using email.
*/
@IonicPage()
@IonicPage({segment: "core-login-email-signup"})
@Component({
selector: 'page-core-login-email-signup',
templateUrl: 'email-signup.html',

View File

@ -22,7 +22,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
/**
* Page to recover a forgotten password.
*/
@IonicPage()
@IonicPage({segment: "core-login-forgotten-password"})
@Component({
selector: 'page-core-login-forgotten-password',
templateUrl: 'forgotten-password.html',

View File

@ -23,7 +23,7 @@ import { CoreLoginHelperProvider } from '../../providers/helper';
/**
* Page that displays a "splash screen" while the app is being initialized.
*/
@IonicPage()
@IonicPage({segment: "core-login-init"})
@Component({
selector: 'page-core-login-init',
templateUrl: 'init.html',

View File

@ -23,7 +23,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
/**
* Page to enter the user password to reconnect to a site.
*/
@IonicPage()
@IonicPage({segment: "core-login-reconnect"})
@Component({
selector: 'page-core-login-reconnect',
templateUrl: 'reconnect.html',

View File

@ -18,7 +18,7 @@ import { IonicPage, ViewController, NavParams } from 'ionic-angular';
/**
* Component that displays an error when trying to connect to a site.
*/
@IonicPage()
@IonicPage({segment: "core-login-site-error"})
@Component({
selector: 'page-core-login-site-error',
templateUrl: 'site-error.html',

View File

@ -18,7 +18,7 @@ import { IonicPage, ViewController } from 'ionic-angular';
/**
* Component that displays some help regarding the CoreLoginSitePage.
*/
@IonicPage()
@IonicPage({segment: "core-login-site-help"})
@Component({
selector: 'page-core-login-site-help',
templateUrl: 'site-help.html',

View File

@ -23,7 +23,7 @@ import { CoreSite } from '../../../../classes/site';
/**
* Page to accept a site policy.
*/
@IonicPage()
@IonicPage({segment: "core-login-site-policy"})
@Component({
selector: 'page-core-login-site-policy',
templateUrl: 'site-policy.html',

View File

@ -24,7 +24,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
/**
* Page to enter or select the site URL to connect to.
*/
@IonicPage()
@IonicPage({segment: "core-login-site"})
@Component({
selector: 'page-core-login-site',
templateUrl: 'site.html',

View File

@ -24,7 +24,7 @@ import { CoreLoginHelperProvider } from '../../providers/helper';
/**
* Page that displays the list of stored sites.
*/
@IonicPage()
@IonicPage({segment: "core-login-sites"})
@Component({
selector: 'page-core-login-sites',
templateUrl: 'sites.html',

View File

@ -22,7 +22,7 @@ import { CoreMainMenuDelegate, CoreMainMenuHandlerData } from '../../providers/d
/**
* Page that displays the main menu of the app.
*/
@IonicPage()
@IonicPage({segment: "core-mainmenu"})
@Component({
selector: 'page-core-mainmenu',
templateUrl: 'menu.html',

View File

@ -22,7 +22,7 @@ import { CoreMainMenuProvider, CoreMainMenuCustomItem } from '../../providers/ma
/**
* Page that displays the list of main menu options that aren't in the tabs.
*/
@IonicPage()
@IonicPage({segment: "core-mainmenu-more"})
@Component({
selector: 'page-core-mainmenu-more',
templateUrl: 'more.html',

View File

@ -22,7 +22,7 @@ import { CoreSharedFilesHelperProvider } from '../../providers/helper';
/**
* Modal to display the list of sites to choose one to store a shared file.
*/
@IonicPage()
@IonicPage({segment: "core-shared-files-choose-site"})
@Component({
selector: 'page-core-shared-files-choose-site',
templateUrl: 'choose-site.html',

View File

@ -24,7 +24,7 @@ import { CoreSharedFilesProvider } from '../../providers/sharedfiles';
/**
* Modal to display the list of shared files.
*/
@IonicPage()
@IonicPage({segment: "core-shared-files-list"})
@Component({
selector: 'page-core-shared-files-list',
templateUrl: 'list.html',

View File

@ -18,7 +18,7 @@ import { IonicPage, NavParams } from 'ionic-angular';
/**
* Page to display a URL in an iframe.
*/
@IonicPage()
@IonicPage({segment: "core-viewer-iframe"})
@Component({
selector: 'page-core-viewer-iframe',
templateUrl: 'iframe.html',

View File

@ -19,7 +19,7 @@ import { CoreTextUtilsProvider } from '../../../../providers/utils/text';
/**
* Page to render a certain text. If opened as a modal, it will have a button to close the modal.
*/
@IonicPage()
@IonicPage({segment: "core-viewer-text"})
@Component({
selector: 'page-core-viewer-text',
templateUrl: 'text.html',