[plugins-functionality | WIP]
This commit is contained in:
parent
aaee50875d
commit
838a3ef218
|
@ -12,7 +12,7 @@ export class ConnectHelper {
|
||||||
if(properties.environment == "development" &&
|
if(properties.environment == "development" &&
|
||||||
(properties.adminToolsPortalType == "connect" || properties.adminToolsPortalType == "community"
|
(properties.adminToolsPortalType == "connect" || properties.adminToolsPortalType == "community"
|
||||||
|| properties.adminToolsPortalType == "aggregator" || properties.adminToolsPortalType == "eosc")) {
|
|| properties.adminToolsPortalType == "aggregator" || properties.adminToolsPortalType == "eosc")) {
|
||||||
domain = "covid-19.openaire.eu"; //for testing
|
domain = "enermaps.openaire.eu"; //for testing
|
||||||
}
|
}
|
||||||
domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix
|
domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix
|
||||||
if (domain.indexOf('eosc-portal.eu') != -1) {
|
if (domain.indexOf('eosc-portal.eu') != -1) {
|
||||||
|
|
|
@ -25,9 +25,7 @@
|
||||||
<div>
|
<div>
|
||||||
{{pluginObject.paragraph2}}
|
{{pluginObject.paragraph2}}
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-margin-top">
|
|
||||||
{{pluginObject.contributeLine}}
|
|
||||||
</div>
|
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
<a [href]="pluginObject.url.url" [target]="pluginObject.url.target"
|
<a [href]="pluginObject.url.url" [target]="pluginObject.url.target"
|
||||||
class="uk-display-inline-block uk-text-uppercase uk-button uk-button-text">
|
class="uk-display-inline-block uk-text-uppercase uk-button uk-button-text">
|
||||||
|
|
|
@ -3,14 +3,12 @@ import {PluginBaseComponent, PluginBaseInfo, PluginURL} from "../../utils/base-p
|
||||||
|
|
||||||
export class PluginGraphInfo extends PluginBaseInfo{
|
export class PluginGraphInfo extends PluginBaseInfo{
|
||||||
title:string ="How? It's about open data and collaboration"
|
title:string ="How? It's about open data and collaboration"
|
||||||
paragraph1:string = `Gateway is built on the OpenAIRE Graph, one of the largest open scholarly record collections worldwide. Conceived as a public and transparent good, populated out of data sources trusted by scientists, the OpenAIRE Graph brings discovery, monitoring, and assessment of science back in the hands of the scientific community. `;
|
paragraph1:string = `This gateway is built on the OpenAIRE Graph, one of the largest open scholarly record collections worldwide. Conceived as a public and transparent good, populated out of data sources trusted by scientists, the OpenAIRE Graph brings discovery, monitoring, and assessment of science back in the hands of the scientific community.`;
|
||||||
paragraph2:string = "Within a constantly emerging scholarly communication environment, the OpenAIRE Graph is a moving target, continuously integrating new sources, new types or research objects, and embedding access measures. We therefore welcome the community to work with us to improve all its aspects: its coverage (geographic and thematic), quality (disambiguation and semantics) and access (APIs). ";
|
paragraph2:string = "Within a constantly emerging scholarly communication environment, the OpenAIRE Graph is a moving target, continuously integrating new sources, new types of research objects, and embedding impact and usage indicators. We therefore welcome the community to work with us to improve all its aspects: its coverage (geographic and thematic), quality (disambiguation and semantics) and access (APIs).";
|
||||||
contributeLine:string = "Find information about the OpenAIRE Graph, how to test it and contribute to improving it. ";
|
url:PluginURL= new PluginURL("https://graph.openaire.eu","Learn more")
|
||||||
url:PluginURL= new PluginURL("https://www.openaire.eu/blogs/the-openaire-research-graph","Learn more. Contribute")
|
|
||||||
|
|
||||||
compare(oldObject): any {
|
compare(oldObject): any {
|
||||||
let newObj= super.compare(oldObject);
|
let newObj= super.compare(oldObject);
|
||||||
console.log(newObj)
|
|
||||||
return newObj;
|
return newObj;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
<icon [name]="'database'" [type]="'outlined'" [ratio]="3" class="uk-margin-small-right"></icon>
|
<icon [name]="'database'" [type]="'outlined'" [ratio]="3" class="uk-margin-small-right"></icon>
|
||||||
{{pluginObject.title}}
|
{{pluginObject.title}}
|
||||||
</h3>
|
</h3>
|
||||||
<a *ngIf=" contentProviders && contentProviders.length > 2" [href]="" class="uk-display-inline-block uk-text-uppercase uk-button uk-button-text uk-text-default">
|
<!--<a *ngIf=" contentProviders && contentProviders.length > 2" [href]="" class="uk-display-inline-block uk-text-uppercase uk-button uk-button-text uk-text-default">
|
||||||
View all
|
View all
|
||||||
</a>
|
</a>-->
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="!contentProviders || contentProviders.length == 0 " class="uk-text-muted uk-text-center">
|
<div *ngIf="!contentProviders || contentProviders.length == 0 " class="uk-text-muted uk-text-center">
|
||||||
No datasources available
|
No datasources available
|
||||||
|
|
Loading…
Reference in New Issue