[master
This commit is contained in:
parent
4f18099557
commit
bd21a76e72
|
@ -1 +1 @@
|
|||
Subproject commit ea5275da2dafb10b650f9af66ae4ca029055c5bb
|
||||
Subproject commit 2b2aaed2b80f2c5a9a15adf0da4d352c546ab541
|
|
@ -6,6 +6,7 @@ import {Stakeholder} from "../openaireLibrary/monitor/entities/stakeholder";
|
|||
import {LinksResolver} from "../search/links-resolver";
|
||||
import {BelongsTo} from "../openaireLibrary/utils/entities/resultLandingInfo";
|
||||
import {properties} from "../../environments/environment";
|
||||
import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields";
|
||||
|
||||
export class Irish {
|
||||
public static irishAdminToolsPortalType = "country";
|
||||
|
@ -68,7 +69,29 @@ export class Irish {
|
|||
],
|
||||
message: 'This ((result)) is not specific to Ireland. For more details, please visit ' +
|
||||
'<a href="https://' + (properties.environment !== 'production' ? 'beta.' : '') + 'explore.openaire.eu/search/result?((type_id))=((id))" target="_blank">OpenAIRE Explore.</a>'
|
||||
}
|
||||
};
|
||||
BelongsTo.project = {
|
||||
fields: [
|
||||
{path: ['organizations', 'country'], value: 'Ireland'},
|
||||
{path: ['funding', 'funderJurisdiction'], value: 'IE'}
|
||||
],
|
||||
message: 'This ' + OpenaireEntities.PROJECT + ' is not specific to Ireland. For more details, please visit ' +
|
||||
'<a href="https://' + (properties.environment !== 'production' ? 'beta.' : '') + 'explore.openaire.eu/search/project?projectId=((id))" target="_blank">OpenAIRE Explore.</a>'
|
||||
};
|
||||
BelongsTo.organization = {
|
||||
fields: [
|
||||
{path: ['country'], value: 'Ireland'}
|
||||
],
|
||||
message: 'This ' + OpenaireEntities.ORGANIZATION + ' is not specific to Ireland. For more details, please visit ' +
|
||||
'<a href="https://' + (properties.environment !== 'production' ? 'beta.' : '') + 'explore.openaire.eu/search/organization?organizationId=((id))" target="_blank">OpenAIRE Explore.</a>'
|
||||
};
|
||||
BelongsTo.datasource = {
|
||||
fields: [
|
||||
{path: ['countries'], value: 'Ireland'}
|
||||
],
|
||||
message: 'This ' + OpenaireEntities.DATASOURCE + ' is not specific to Ireland. For more details, please visit ' +
|
||||
'<a href="https://' + (properties.environment !== 'production' ? 'beta.' : '') + 'explore.openaire.eu/search/dataprovider?datasourceId=((id))" target="_blank">OpenAIRE Explore.</a>'
|
||||
};
|
||||
}
|
||||
|
||||
public static initializeOAIndicators(): void {
|
||||
|
|
Loading…
Reference in New Issue