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. * Page that displays a single calendar event.
*/ */
@IonicPage() @IonicPage({segment: "addon-calendar-event"})
@Component({ @Component({
selector: 'page-addon-calendar-event', selector: 'page-addon-calendar-event',
templateUrl: 'event.html', templateUrl: 'event.html',

View File

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

View File

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

View File

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

View File

@ -21,7 +21,7 @@ import { CoreCoursesProvider } from '../../providers/courses';
/** /**
* Page that displays available courses in current site. * Page that displays available courses in current site.
*/ */
@IonicPage() @IonicPage({segment: "core-courses-available-courses"})
@Component({ @Component({
selector: 'page-core-courses-available-courses', selector: 'page-core-courses-available-courses',
templateUrl: 'available-courses.html', 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. * Page that displays a list of categories and the courses in the current category if any.
*/ */
@IonicPage() @IonicPage({segment: "core-courses-categories"})
@Component({ @Component({
selector: 'page-core-courses-categories', selector: 'page-core-courses-categories',
templateUrl: 'categories.html', 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. * Page that allows "previewing" a course and enrolling in it if enabled and not enrolled.
*/ */
@IonicPage() @IonicPage({segment: "core-courses-course-preview"})
@Component({ @Component({
selector: 'page-core-courses-course-preview', selector: 'page-core-courses-course-preview',
templateUrl: 'course-preview.html', 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. * Page that displays the list of courses the user is enrolled in.
*/ */
@IonicPage() @IonicPage({segment: "core-courses-my-courses"})
@Component({ @Component({
selector: 'page-core-courses-my-courses', selector: 'page-core-courses-my-courses',
templateUrl: 'my-courses.html', templateUrl: 'my-courses.html',

View File

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

View File

@ -20,7 +20,7 @@ import { CoreCoursesProvider } from '../../providers/courses';
/** /**
* Page that allows searching for courses. * Page that allows searching for courses.
*/ */
@IonicPage() @IonicPage({segment: "core-courses-search"})
@Component({ @Component({
selector: 'page-core-courses-search', selector: 'page-core-courses-search',
templateUrl: 'search.html', 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. * Page that displays a form to enter a password to self enrol in a course.
*/ */
@IonicPage() @IonicPage({segment: "core-courses-self-enrol-password"})
@Component({ @Component({
selector: 'page-core-courses-self-enrol-password', selector: 'page-core-courses-self-enrol-password',
templateUrl: 'self-enrol-password.html', 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. * Page to capture media in browser or desktop.
*/ */
@IonicPage() @IonicPage({segment: "core-emulator-capture-media"})
@Component({ @Component({
selector: 'page-core-emulator-capture-media', selector: 'page-core-emulator-capture-media',
templateUrl: 'capture-media.html', templateUrl: 'capture-media.html',

View File

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

View File

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

View File

@ -22,7 +22,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
/** /**
* Page to recover a forgotten password. * Page to recover a forgotten password.
*/ */
@IonicPage() @IonicPage({segment: "core-login-forgotten-password"})
@Component({ @Component({
selector: 'page-core-login-forgotten-password', selector: 'page-core-login-forgotten-password',
templateUrl: 'forgotten-password.html', 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. * Page that displays a "splash screen" while the app is being initialized.
*/ */
@IonicPage() @IonicPage({segment: "core-login-init"})
@Component({ @Component({
selector: 'page-core-login-init', selector: 'page-core-login-init',
templateUrl: 'init.html', 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. * Page to enter the user password to reconnect to a site.
*/ */
@IonicPage() @IonicPage({segment: "core-login-reconnect"})
@Component({ @Component({
selector: 'page-core-login-reconnect', selector: 'page-core-login-reconnect',
templateUrl: 'reconnect.html', 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. * Component that displays an error when trying to connect to a site.
*/ */
@IonicPage() @IonicPage({segment: "core-login-site-error"})
@Component({ @Component({
selector: 'page-core-login-site-error', selector: 'page-core-login-site-error',
templateUrl: 'site-error.html', templateUrl: 'site-error.html',

View File

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

View File

@ -23,7 +23,7 @@ import { CoreSite } from '../../../../classes/site';
/** /**
* Page to accept a site policy. * Page to accept a site policy.
*/ */
@IonicPage() @IonicPage({segment: "core-login-site-policy"})
@Component({ @Component({
selector: 'page-core-login-site-policy', selector: 'page-core-login-site-policy',
templateUrl: 'site-policy.html', 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. * Page to enter or select the site URL to connect to.
*/ */
@IonicPage() @IonicPage({segment: "core-login-site"})
@Component({ @Component({
selector: 'page-core-login-site', selector: 'page-core-login-site',
templateUrl: 'site.html', templateUrl: 'site.html',

View File

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

View File

@ -22,7 +22,7 @@ import { CoreMainMenuDelegate, CoreMainMenuHandlerData } from '../../providers/d
/** /**
* Page that displays the main menu of the app. * Page that displays the main menu of the app.
*/ */
@IonicPage() @IonicPage({segment: "core-mainmenu"})
@Component({ @Component({
selector: 'page-core-mainmenu', selector: 'page-core-mainmenu',
templateUrl: 'menu.html', 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. * Page that displays the list of main menu options that aren't in the tabs.
*/ */
@IonicPage() @IonicPage({segment: "core-mainmenu-more"})
@Component({ @Component({
selector: 'page-core-mainmenu-more', selector: 'page-core-mainmenu-more',
templateUrl: 'more.html', 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. * Modal to display the list of sites to choose one to store a shared file.
*/ */
@IonicPage() @IonicPage({segment: "core-shared-files-choose-site"})
@Component({ @Component({
selector: 'page-core-shared-files-choose-site', selector: 'page-core-shared-files-choose-site',
templateUrl: 'choose-site.html', templateUrl: 'choose-site.html',

View File

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

View File

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