openaire-library/utils/result-preview
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
..
result-preview.component.html [Library | new-theme]: orcid-work.component.ts & result-preview.component.html: result-preview card, fix bottom for small screens - v2. 2022-05-31 15:37:16 +03:00
result-preview.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
result-preview.module.ts [Library & common-assets | new-theme]: Updates for redesign. 2022-04-16 10:47:30 +03:00
result-preview.ts Delete some console logs. Change inputs in filters to small instead of x-small 2022-05-05 16:47:21 +03:00