+
+
+
+
+
+
+
+
+
+
{{entityType}}
+ 0">
+
+
0" class="uk-text-italic">
- {{(entityType?' >> ':'') + removeUnknown(types, true).join(' . ')}}
+ {{removeUnknown(types, true).join(' , ')}}
@@ -54,6 +66,23 @@ import {AlertModal} from "../../../utils/modal/alert";
uk-tooltip="pos:bottom-right; delay:10;"
class="uk-text-primary">Under curation
+
+ 0">
+ •
+
+ {{language}}
+
+
+
+ 0">
+ •
+
+ {{programmingLanguage}}
+
+
+
+
@@ -79,6 +108,12 @@ export class LandingHeaderComponent {
@Input() titleClass: string = null;
@Input() isTitleH1:boolean =true;
@Input() isSticky: boolean = false;
+ @Input() publisher; // showPublisher component
+ @Input() publishDate: Date; // showPublisher component
+ @Input() journal; // showPublisher component
+ @Input() languages;
+ @Input() programmingLanguages;
+
public removeUnknown(array: string[], type: boolean = false): string[] {
if (type) {
return this.removeDuplicates(array).filter(value => value.toLowerCase() !== 'unknown');
diff --git a/landingPages/landing-utils/landing-header/landing-header.module.ts b/landingPages/landing-utils/landing-header/landing-header.module.ts
index d607e391..069a17b5 100644
--- a/landingPages/landing-utils/landing-header/landing-header.module.ts
+++ b/landingPages/landing-utils/landing-header/landing-header.module.ts
@@ -3,9 +3,11 @@ import {LandingHeaderComponent} from "./landing-header.component";
import {CommonModule} from "@angular/common";
import {LandingModule} from "../landing.module";
import {ShowAuthorsModule} from "../../../utils/authors/showAuthors.module";
+import {IconsModule} from "src/app/openaireLibrary/utils/icons/icons.module";
+import {ShowPublisherModule} from "../showPublisher.module";
@NgModule({
- imports: [CommonModule, LandingModule, ShowAuthorsModule],
+ imports: [CommonModule, LandingModule, ShowAuthorsModule, IconsModule, ShowPublisherModule],
declarations: [LandingHeaderComponent],
exports: [LandingHeaderComponent]
})
diff --git a/landingPages/landing-utils/showPublisher.component.ts b/landingPages/landing-utils/showPublisher.component.ts
index 55d96ffe..08e86591 100644
--- a/landingPages/landing-utils/showPublisher.component.ts
+++ b/landingPages/landing-utils/showPublisher.component.ts
@@ -4,73 +4,76 @@ import {EnvProperties} from "../../utils/properties/env-properties";
@Component({
selector: 'showPublisher, [showPublisher]',
template: `
-
-
- Published:
- {{publishDate | date: 'dd MMM yyyy' : 'UTC'}}
-
-
- Journal:
- {{journal['journal']}}
- ,
-
-
- volume
- 0">{{journal['volume'] | number}}
- 0)">{{journal['volume']}}
-
- ,
-
-
-
- issue
- 0">{{journal['issue'] | number}}
- 0)">{{journal['issue']}}
-
- ,
-
-
- {{(journal['start_page'] && journal['end_page']) ? 'pages' : 'page'}}
-
- 0">{{journal['start_page'] | number}}
- 0)">{{journal['start_page']}}
-
- -
-
- 0">{{journal['end_page'] | number}}
- 0)">{{journal['end_page']}}
-
-
- (
-
- issn: {{journal['issn']}}
- ,
-
-
- eissn: {{journal['eissn']}}
- ,
-
-
- lissn: {{journal['lissn']}}
- ,
-
-
-
-
- Copyright policy
-
-
- )
-
-
-
- Publisher: {{publisher}}
-
+
+
+ •
+ {{publishDate | date: 'dd MMM yyyy' : 'UTC'}}
+
+
+ •
+
+ {{journal['journal']}}
+ ,
+
+
+ volume
+ 0">{{journal['volume'] | number}}
+ 0)">{{journal['volume']}}
+
+ ,
+
+
+
+ issue
+ 0">{{journal['issue'] | number}}
+ 0)">{{journal['issue']}}
+
+ ,
+
+
+ {{(journal['start_page'] && journal['end_page']) ? 'pages' : 'page'}}
+
+ 0">{{journal['start_page'] | number}}
+ 0)">{{journal['start_page']}}
+
+ -
+
+ 0">{{journal['end_page'] | number}}
+ 0)">{{journal['end_page']}}
+
+
+ (
+
+ issn: {{journal['issn']}}
+ ,
+
+
+ eissn: {{journal['eissn']}}
+ ,
+
+
+ lissn: {{journal['lissn']}}
+ ,
+
+
+
+
+ Copyright policy
+
+
+ )
+
+
+
+
+ •
+ {{publisher}}
+
`
})
export class ShowPublisherComponent {
diff --git a/landingPages/landing-utils/showPublisher.module.ts b/landingPages/landing-utils/showPublisher.module.ts
index 3da1cc5c..8a8d0549 100644
--- a/landingPages/landing-utils/showPublisher.module.ts
+++ b/landingPages/landing-utils/showPublisher.module.ts
@@ -1,10 +1,11 @@
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {ShowPublisherComponent} from "./showPublisher.component";
+import {IconsModule} from '../../utils/icons/icons.module';
@NgModule({
imports: [
- CommonModule
+ CommonModule, IconsModule
],
declarations: [
ShowPublisherComponent
diff --git a/landingPages/result/resultLanding.component.html b/landingPages/result/resultLanding.component.html
index 2cf40c10..f0d0e01d 100644
--- a/landingPages/result/resultLanding.component.html
+++ b/landingPages/result/resultLanding.component.html
@@ -105,36 +105,58 @@
-
+
@@ -206,10 +228,14 @@
[authors]="resultLandingInfo.authors"
[underCuration]="resultLandingInfo.underCurationMessage"
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
- [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
+ [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate"
+ [publisher]="resultLandingInfo.publisher" [publishDate]="resultLandingInfo.dateofacceptance"
+ [journal]="resultLandingInfo.journal" [languages]="resultLandingInfo.languages"
+ [programmingLanguages]="resultLandingInfo.programmingLanguages">
-
+
+
0" class="uk-margin-small-top">
-
+
@@ -522,9 +549,9 @@
(viewAllClicked)="viewAll=$event" (noCommunities)="noCommunities = true">
-
0 && (!viewAll || viewAll=='availableOn')">
+
diff --git a/landingPages/result/resultLanding.module.ts b/landingPages/result/resultLanding.module.ts
index 3a901b22..3f091caa 100644
--- a/landingPages/result/resultLanding.module.ts
+++ b/landingPages/result/resultLanding.module.ts
@@ -33,7 +33,7 @@ import {MatFormFieldModule} from "@angular/material/form-field";
import {MatSelectModule} from "@angular/material/select";
import {IconsModule} from "../../utils/icons/icons.module";
import {IconsService} from "../../utils/icons/icons.service";
-import {graph, link, quotes} from "../../utils/icons/icons";
+import {graph, link, quotes, cite, link_to, versions} from "../../utils/icons/icons";
import {InputModule} from "../../sharedComponents/input/input.module";
import {EGIDataTransferModule} from "../../utils/dataTransfer/transferData.module";
@@ -58,6 +58,6 @@ import {EGIDataTransferModule} from "../../utils/dataTransfer/transferData.modul
})
export class ResultLandingModule {
constructor(private iconsService: IconsService) {
- this.iconsService.registerIcons([link, graph, quotes])
+ this.iconsService.registerIcons([link, graph, quotes, cite, link_to, versions])
}
}
diff --git a/orcid/orcid-work.component.ts b/orcid/orcid-work.component.ts
index 3f0ccc69..a91d319e 100644
--- a/orcid/orcid-work.component.ts
+++ b/orcid/orcid-work.component.ts
@@ -54,21 +54,22 @@ declare var UIkit: any;
-
+
+ Claim
0"
- [attr.uk-tooltip]="'pos: right; cls: uk-active uk-text-small uk-padding-small'"
+ [attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small'"
[title]="(!pids || !isLoggedIn) ? (!pids ? tooltipNoPid : tooltipNoLoggedInUser) : tooltipDelete">
'
}
+
+export const cite = {
+ name: 'cite',
+ data: ''
+}
+
+export const link_to = {
+ name: 'link_to',
+ data: ''
+}
+
+export const versions = {
+ name: 'versions',
+ data: ''
+}
/** Add new icon under this line to be sure that it will be added on preview */