From 221894564a1832ac15357fcf16578264fcc807c6 Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Tue, 28 May 2024 15:37:59 +0300 Subject: [PATCH] replaced orcid icon with the unauthorized icon --- .../overview/description-overview.component.html | 4 ++-- .../overview/description-overview.component.scss | 5 +++-- .../overview/description-overview.component.ts | 4 ++++ .../ui/dmp/overview/dmp-overview.component.html | 4 ++-- .../ui/dmp/overview/dmp-overview.component.scss | 5 +++-- .../app/ui/dmp/overview/dmp-overview.component.ts | 4 ++++ .../ui/user-profile/user-profile.component.scss | 10 +++++----- dmp-frontend/src/assets/i18n/en.json | 6 ++++++ .../src/assets/images/login/orcid_unauth.png | Bin 0 -> 230 bytes dmp-frontend/src/assets/images/orcid_unauth.png | Bin 0 -> 230 bytes 10 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 dmp-frontend/src/assets/images/login/orcid_unauth.png create mode 100644 dmp-frontend/src/assets/images/orcid_unauth.png diff --git a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html index 710dca7c6..242103b84 100644 --- a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html +++ b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html @@ -89,8 +89,8 @@
- -
 
+
+
 
{{ dmpReference.reference?.label }},
{{ dmpReference.reference?.label }}
diff --git a/dmp-frontend/src/app/ui/description/overview/description-overview.component.scss b/dmp-frontend/src/app/ui/description/overview/description-overview.component.scss index f4ee17589..1106f7b4d 100644 --- a/dmp-frontend/src/app/ui/description/overview/description-overview.component.scss +++ b/dmp-frontend/src/app/ui/description/overview/description-overview.component.scss @@ -52,8 +52,9 @@ } .id-btn { - background: url("../../../../assets/images/orcid.png") no-repeat center; - width: 1em; + background: url("../../../../assets/images/orcid_unauth.png") no-repeat center; + width: 1rem; + height: 1rem; margin-right: 0.3em; align-self: center; } diff --git a/dmp-frontend/src/app/ui/description/overview/description-overview.component.ts b/dmp-frontend/src/app/ui/description/overview/description-overview.component.ts index 411724726..01f5d5d69 100644 --- a/dmp-frontend/src/app/ui/description/overview/description-overview.component.ts +++ b/dmp-frontend/src/app/ui/description/overview/description-overview.component.ts @@ -174,6 +174,10 @@ export class DescriptionOverviewComponent extends BaseComponent implements OnIni }); } + get unauthorizedTootipText(): string { + return this.language.instant('DESCRIPTION-OVERVIEW.INFOS.UNAUTHORIZED-ORCID'); + } + checkLockStatus(id: Guid) { this.lockService.checkLockStatus(id).pipe(takeUntil(this._destroyed)) .subscribe(lockStatus => { diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html index 9fb728bce..054391004 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html @@ -78,8 +78,8 @@
- -   + +   {{ dmpReference.reference?.label }},  {{ dmpReference.reference?.label }} diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss index af5c994b1..2444140e1 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss @@ -36,8 +36,9 @@ // ********BUTTONS******** .id-btn { - background: url("../../../../assets/images/orcid.png") no-repeat center; - width: 1em; + background: url("../../../../assets/images/orcid_unauth.png") no-repeat center; + width: 1rem; + height: 1rem; margin-right: 0.3em; align-self: center; } diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts index 06026b331..7d38a1b3c 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts @@ -201,6 +201,10 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit { } } + get unauthorizedTootipText(): string { + return this.language.instant('DMP-OVERVIEW.INFOS.UNAUTHORIZED-ORCID'); + } + onFetchingDeletedCallbackError(redirectRoot: string) { this.uiNotificationService.snackBarNotification(this.language.instant('DMP-OVERVIEW.ERROR.DELETED-DMP'), SnackBarNotificationLevel.Error); this.router.navigate([redirectRoot]); diff --git a/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss b/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss index f07e51f27..403e01e0a 100644 --- a/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss +++ b/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss @@ -290,13 +290,13 @@ } span.orcidIconMedium { - background: url("../../../assets/images/login/orcid.png") no-repeat; + background: url("../../../assets/images/login/orcid_unauth.png") no-repeat; background-position: center; float: left; - transform: scale(0.45); - width: 50px; - height: 45px; - } + width: 1rem; + height: 1rem; + margin-left: 0.3rem; +} span.openaireIcon { background: url("../../../assets/images/login/openaire.png") no-repeat; diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index b2ea407ea..b49cfb338 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -709,6 +709,9 @@ }, "ROLES": { "ALL-SECTIONS": "All Sections" + }, + "INFOS": { + "UNAUTHORIZED-ORCID": "This ORCID is entered by the Plan creators, without further acknowledgement of the owner." } }, "DESCRIPTION-OVERVIEW": { @@ -759,6 +762,9 @@ "FINALISE-POPUP": {}, "ROLES": { "ALL-SECTIONS": "All Sections" + }, + "INFOS": { + "UNAUTHORIZED-ORCID": "This ORCID is entered by the Plan creators, without further acknowledgement of the owner." } }, "DESCRIPTION-LISTING": { diff --git a/dmp-frontend/src/assets/images/login/orcid_unauth.png b/dmp-frontend/src/assets/images/login/orcid_unauth.png new file mode 100644 index 0000000000000000000000000000000000000000..904d6177ef15e466b6ac03362bc9e7bb193af0eb GIT binary patch literal 230 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPHF4e$wZ1=2v^;NbB8|Nr^(=ik47 zfB*jd1_lNK0s;*U4FLfG2?+`7*RSvI?^jSzm})*@6Hql{NswPKgTu2MX+Tc8r;B3< z$MxidgaRRvkVJ;20!Ian)P#iG8pae47K07k%Nkm^BxG2{O*Kuqx(qb9(zK*+n{XL& zFiAG8>T42co1!>HktNxKjjKsC+ge|QDQkc1v}Y_=&gpTmu{vn891J_4+iK0sVB{y7 Ua{T@02_WZsy85}Sb4q9e057IReET42co1!>HktNxKjjKsC+ge|QDQkc1v}Y_=&gpTmu{vn891J_4+iK0sVB{y7 Ua{T@02_WZsy85}Sb4q9e057IReE