[Trunk | Explore]: Merging branch "mergeResultLandingPages" into Trunk 56952:56970

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@56971 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2019-09-05 09:01:24 +00:00
parent 2d888181a0
commit c069b69c5e
9 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@ import {Component, ViewChild, ElementRef} from '@angular/core';
@Component({ @Component({
selector: 'openaire-dataset', selector: 'openaire-dataset',
template: `<dataset></dataset>`, template: `<result-landing type="dataset" [activeTab]="'References'"></result-landing>`,
}) })
export class OpenaireDatasetComponent{ export class OpenaireDatasetComponent{
constructor ( ) { constructor ( ) {

View File

@ -4,14 +4,14 @@ import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { SharedModule } from '../../shared/shared.module'; import { SharedModule } from '../../shared/shared.module';
import { RouterModule } from '@angular/router'; import { RouterModule } from '@angular/router';
import { DatasetModule } from '../../openaireLibrary/landingPages/dataset/dataset.module';
import { OpenaireDatasetComponent } from './dataset.component'; import { OpenaireDatasetComponent } from './dataset.component';
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
import {DatasetRoutingModule} from './dataset-routing.module'; import {DatasetRoutingModule} from './dataset-routing.module';
import {ResultLandingModule} from "../../openaireLibrary/landingPages/result/resultLanding.module";
@NgModule({ @NgModule({
imports: [DatasetModule, DatasetRoutingModule], imports: [DatasetRoutingModule, ResultLandingModule],
declarations:[OpenaireDatasetComponent], declarations:[OpenaireDatasetComponent],
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled], providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
exports:[OpenaireDatasetComponent] exports:[OpenaireDatasetComponent]

View File

@ -4,14 +4,14 @@ import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { SharedModule } from '../../shared/shared.module'; import { SharedModule } from '../../shared/shared.module';
import { RouterModule } from '@angular/router'; import { RouterModule } from '@angular/router';
import { OrpModule } from '../../openaireLibrary/landingPages/orp/orp.module';
import { OpenaireOrpComponent } from './orp.component'; import { OpenaireOrpComponent } from './orp.component';
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
import {OrpRoutingModule} from './orp-routing.module'; import {OrpRoutingModule} from './orp-routing.module';
import {ResultLandingModule} from "../../openaireLibrary/landingPages/result/resultLanding.module";
@NgModule({ @NgModule({
imports: [OrpModule, OrpRoutingModule], imports: [OrpRoutingModule, ResultLandingModule],
declarations:[OpenaireOrpComponent], declarations:[OpenaireOrpComponent],
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled], providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
exports:[OpenaireOrpComponent] exports:[OpenaireOrpComponent]

View File

@ -2,7 +2,7 @@ import {Component, ViewChild, ElementRef} from '@angular/core';
@Component({ @Component({
selector: 'openaire-orp', selector: 'openaire-orp',
template: `<orp></orp>`, template: `<result-landing type="orp" [activeTab]="'References'"></result-landing>`,
}) })
export class OpenaireOrpComponent{ export class OpenaireOrpComponent{
constructor ( ) { constructor ( ) {

View File

@ -4,15 +4,15 @@ import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { SharedModule } from '../../shared/shared.module'; import { SharedModule } from '../../shared/shared.module';
import { RouterModule } from '@angular/router'; import { RouterModule } from '@angular/router';
import { PublicationModule } from '../../openaireLibrary/landingPages/publication/publication.module';
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
import { OpenairePublicationComponent } from './publication.component'; import { OpenairePublicationComponent } from './publication.component';
import {PublicationRoutingModule} from './publication-routing.module'; import {PublicationRoutingModule} from './publication-routing.module';
import {ResultLandingModule} from "../../openaireLibrary/landingPages/result/resultLanding.module";
@NgModule({ @NgModule({
imports: [PublicationModule, PublicationRoutingModule], imports: [PublicationRoutingModule, ResultLandingModule],
declarations:[OpenairePublicationComponent], declarations:[OpenairePublicationComponent],
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled], providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
exports:[OpenairePublicationComponent] exports:[OpenairePublicationComponent]

View File

@ -2,7 +2,7 @@ import {Component, ViewChild, ElementRef} from '@angular/core';
@Component({ @Component({
selector: 'openaire-publication', selector: 'openaire-publication',
template: `<publication></publication>`, template: `<result-landing type="publication" [activeTab]="'References'"></result-landing>`,
}) })
export class OpenairePublicationComponent{ export class OpenairePublicationComponent{
constructor ( ) { constructor ( ) {

View File

@ -4,14 +4,14 @@ import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router'; import { RouterModule } from '@angular/router';
import { SoftwareModule } from '../../openaireLibrary/landingPages/software/software.module';
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
import { OpenaireSoftwareComponent } from './software.component'; import { OpenaireSoftwareComponent } from './software.component';
import {SoftwareRoutingModule} from './software-routing.module'; import {SoftwareRoutingModule} from './software-routing.module';
import {ResultLandingModule} from "../../openaireLibrary/landingPages/result/resultLanding.module";
@NgModule({ @NgModule({
imports: [SoftwareModule, SoftwareRoutingModule], imports: [SoftwareRoutingModule, ResultLandingModule],
declarations:[OpenaireSoftwareComponent], declarations:[OpenaireSoftwareComponent],
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled], providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
exports:[OpenaireSoftwareComponent] exports:[OpenaireSoftwareComponent]

View File

@ -2,7 +2,7 @@ import {Component, ViewChild, ElementRef} from '@angular/core';
@Component({ @Component({
selector: 'openaire-software', selector: 'openaire-software',
template: `<software></software>`, template: `<result-landing type="software" [activeTab]="'Related Research Results'"></result-landing>`,
}) })
export class OpenaireSoftwareComponent{ export class OpenaireSoftwareComponent{
constructor ( ) { constructor ( ) {

View File

@ -25,13 +25,13 @@ module.exports = {
}, },
module: { module: {
rules: [ rules: [
{ test: /\.ts$/, loader: 'ts-loader' } { test: /\.ts$/, loader: 'ts-loader' },
,{ {
// Mark files inside `@angular/core` as using SystemJS style dynamic imports. // Mark files inside `@angular/core` as using SystemJS style dynamic imports.
// Removing this will cause deprecation warnings to appear. // Removing this will cause deprecation warnings to appear.
test: /(\\|\/)@angular(\\|\/)core(\\|\/).+\.js$/, test: /(\\|\/)@angular(\\|\/)core(\\|\/).+\.js$/,
parser: { system: true }, parser: { system: true },
}, }
] ]
}, },
plugins: [ plugins: [