replaced orcid icon with the unauthorized icon

This commit is contained in:
Sofia Papacharalampous 2024-05-28 15:37:59 +03:00
parent 063f6aaf77
commit 221894564a
10 changed files with 29 additions and 13 deletions

View File

@ -89,8 +89,8 @@
<div class="row">
<div class="col-12" *ngFor="let dmpReference of researchers let last = last">
<span *ngIf="isOrcid(dmpReference.reference)">
<a href="{{ getOrcidPathForResearcher(dmpReference.reference?.reference) }}" target="blank" class="researcher">
<div class="id-btn">&nbsp;</div>
<a href="{{ getOrcidPathForResearcher(dmpReference.reference?.reference) }}" target="blank" class="researcher align-items-center">
<div class="id-btn" [matTooltip]="unauthorizedTootipText">&nbsp;</div>
<div *ngIf="!last">{{ dmpReference.reference?.label }}, </div>
<div *ngIf="last">{{ dmpReference.reference?.label }}</div>
</a>

View File

@ -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;
}

View File

@ -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 => {

View File

@ -78,8 +78,8 @@
<ng-container *ngFor="let dmpReference of researchers let last = last">
<ng-container *ngIf="isOrcid(dmpReference.reference)">
<div class="d-inline-block">
<a href="{{ getOrcidPathForResearcher(dmpReference.reference?.reference) }}" target="blank" class="researcher">
<span class="id-btn">&nbsp;</span>
<a href="{{ getOrcidPathForResearcher(dmpReference.reference?.reference) }}" target="blank" class="researcher align-items-center">
<span class="id-btn" [matTooltip]="unauthorizedTootipText">&nbsp;</span>
<span *ngIf="!last">{{ dmpReference.reference?.label }},</span><span>&nbsp;</span>
<span *ngIf="last">{{ dmpReference.reference?.label }}</span>
</a>

View File

@ -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;
}

View File

@ -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]);

View File

@ -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;

View File

@ -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": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B