[ACA-3971] Added lightweight blank page to ACA for the sake of e2es (#1685)

* [ACA-3971] Add lightweight blank page to ACA for the sake of e2es

* [ACA-3971] Add lightweight blank page to ACA for the sake of e2es

* [ACA-3971] Removed unit test file for blank-page component

* [ACA-3971] Imcluded the missing license header in ts file to resolve lint errors
This commit is contained in:
Sushmitha V
2020-09-25 15:32:14 +05:30
committed by GitHub
parent 29f2f67491
commit b4ffd56b9a
3 changed files with 40 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ import localePl from '@angular/common/locales/pl';
import localeFi from '@angular/common/locales/fi'; import localeFi from '@angular/common/locales/fi';
import localeDa from '@angular/common/locales/da'; import localeDa from '@angular/common/locales/da';
import localeSv from '@angular/common/locales/sv'; import localeSv from '@angular/common/locales/sv';
import { BlankPageComponent } from './components/blank-page/blank-page.component';
registerLocaleData(localeFr); registerLocaleData(localeFr);
registerLocaleData(localeDe); registerLocaleData(localeDe);
@@ -147,7 +148,8 @@ registerLocaleData(localeSv);
FavoritesComponent, FavoritesComponent,
RecentFilesComponent, RecentFilesComponent,
SharedFilesComponent, SharedFilesComponent,
CreateFromTemplateDialogComponent CreateFromTemplateDialogComponent,
BlankPageComponent
], ],
providers: [ providers: [
{ provide: RouteReuseStrategy, useClass: AppRouteReuseStrategy }, { provide: RouteReuseStrategy, useClass: AppRouteReuseStrategy },

View File

@@ -36,8 +36,13 @@ import { AuthGuardEcm } from '@alfresco/adf-core';
import { FavoritesComponent } from './components/favorites/favorites.component'; import { FavoritesComponent } from './components/favorites/favorites.component';
import { RecentFilesComponent } from './components/recent-files/recent-files.component'; import { RecentFilesComponent } from './components/recent-files/recent-files.component';
import { SharedFilesComponent } from './components/shared-files/shared-files.component'; import { SharedFilesComponent } from './components/shared-files/shared-files.component';
import { BlankPageComponent } from './components/blank-page/blank-page.component';
export const APP_ROUTES: Routes = [ export const APP_ROUTES: Routes = [
{
path: 'blank',
component: BlankPageComponent
},
{ {
path: 'login', path: 'login',
component: LoginComponent, component: LoginComponent,

View File

@@ -0,0 +1,32 @@
/*!
* @license
* Alfresco Example Content Application
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
import { Component } from '@angular/core';
@Component({
selector: 'aca-blank-page',
template: ``
})
export class BlankPageComponent {}