[Explore | Trunk]: Clear code of landing pages and disable cache on properties

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@58779 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-05-25 18:59:34 +00:00
parent e721295914
commit 06b6beee8c
6 changed files with 18 additions and 67 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
"environment" : "development", "environment" : "development",
"dashboard" : "explore", "dashboard" : "explore",
"enablePiwikTrack" : false, "enablePiwikTrack" : false,
"useCache" : true, "useCache" : false,
"showAddThis" : true, "showAddThis" : true,
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/", "metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",
"framesAPIURL" : "https://beta.openaire.eu/stats3/", "framesAPIURL" : "https://beta.openaire.eu/stats3/",