[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({
selector: 'openaire-dataset',
template: `<result-landing type="dataset" [activeTab]="'References'"></result-landing>`,
template: `<result-landing type="dataset"></result-landing>`,
})
export class OpenaireDatasetComponent{
constructor ( ) {
}
ngOnInit() {
}
}
export class OpenaireDatasetComponent{}

View File

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

View File

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

View File

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

View File

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

View File

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