Add proper lock message on DMP Editor

This commit is contained in:
George Kalampokis 2020-02-14 11:14:09 +02:00
parent ec0901e791
commit 995cb32017
3 changed files with 8 additions and 2 deletions

View File

@ -95,6 +95,10 @@
</mat-tab> -->
</mat-tab-group>
<span *ngIf="lockStatus">
<mat-icon color="accent" class="align-self-center mr-1">info_outlined</mat-icon>
<div class="align-self-center mr-3">{{'DMP-EDITOR.ACTIONS.LOCK' | translate}}</div>
</span>
<div *ngIf="!isFinalized" class="d-flex justify-content-end pt-2 pb-4 pl-2">
<div *ngIf="!isNew">
<button mat-raised-button color="primary" (click)="cancel(dmp.id)" type="button" class="text-uppercase mr-2">

View File

@ -697,7 +697,8 @@
"SAVE": "Save",
"CANCEL": "Cancel",
"DELETE": "Delete",
"FINALISE": "Finalize"
"FINALISE": "Finalize",
"LOCK": "DMP is locked by another user"
},
"SNACK-BAR": {
"UNSUCCESSFUL-DOI": "Unsuccessful DOI creation",

View File

@ -697,7 +697,8 @@
"SAVE": "Save",
"CANCEL": "Cancel",
"DELETE": "Delete",
"FINALISE": "Finalize"
"FINALISE": "Finalize",
"LOCK": "DMP is locked by another user"
},
"SNACK-BAR": {
"UNSUCCESSFUL-DOI": "Unsuccessful DOI creation",