replaced orcid icon with the unauthorized icon
This commit is contained in:
parent
063f6aaf77
commit
221894564a
|
@ -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"> </div>
|
||||
<a href="{{ getOrcidPathForResearcher(dmpReference.reference?.reference) }}" target="blank" class="researcher align-items-center">
|
||||
<div class="id-btn" [matTooltip]="unauthorizedTootipText"> </div>
|
||||
<div *ngIf="!last">{{ dmpReference.reference?.label }}, </div>
|
||||
<div *ngIf="last">{{ dmpReference.reference?.label }}</div>
|
||||
</a>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 => {
|
||||
|
|
|
@ -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"> </span>
|
||||
<a href="{{ getOrcidPathForResearcher(dmpReference.reference?.reference) }}" target="blank" class="researcher align-items-center">
|
||||
<span class="id-btn" [matTooltip]="unauthorizedTootipText"> </span>
|
||||
<span *ngIf="!last">{{ dmpReference.reference?.label }},</span><span> </span>
|
||||
<span *ngIf="last">{{ dmpReference.reference?.label }}</span>
|
||||
</a>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 |
Loading…
Reference in New Issue