openaire-library/claims/directLinking
Konstantina Galouni b88c65a343 [Library | new-theme]: Create common methods to get entity name and entity file name from OpenaireEntities.
1. string-utils.class.ts:
   a. Added method "public static getEntityName(entityType: string, plural: boolean = false): string" to return OpenaireEntities name by entityType.
   b. Added method "public static getEntityFileName(entityType: string): string" to return OpenaireEntities file name by entityType.
2. directLinking.component.ts & dataProvider.component.ts & project.component.ts & resultLanding.component.ts & myOrcidLinks.component.ts & searchResearchResults.component.ts & result-preview.component.ts & search-tab.component.ts: Call StringUtils.getEntityName and StringUtils.getEntityFileName methods instead of checking if/then/else locally.
2022-06-03 13:01:55 +03:00
..
directLinking.component.html [Trunk | Library]: (Changes needed for community background in connect portal) 2020-05-07 17:20:33 +00:00
directLinking.component.ts [Library | new-theme]: Create common methods to get entity name and entity file name from OpenaireEntities. 2022-06-03 13:01:55 +03:00
directLinking.module.ts [Trunk | Library]: 2019-09-11 09:45:54 +00:00