Add proper lock message on DMP Editor
This commit is contained in:
parent
ec0901e791
commit
995cb32017
|
@ -95,6 +95,10 @@
|
||||||
</mat-tab> -->
|
</mat-tab> -->
|
||||||
</mat-tab-group>
|
</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="!isFinalized" class="d-flex justify-content-end pt-2 pb-4 pl-2">
|
||||||
<div *ngIf="!isNew">
|
<div *ngIf="!isNew">
|
||||||
<button mat-raised-button color="primary" (click)="cancel(dmp.id)" type="button" class="text-uppercase mr-2">
|
<button mat-raised-button color="primary" (click)="cancel(dmp.id)" type="button" class="text-uppercase mr-2">
|
||||||
|
|
|
@ -697,7 +697,8 @@
|
||||||
"SAVE": "Save",
|
"SAVE": "Save",
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"DELETE": "Delete",
|
"DELETE": "Delete",
|
||||||
"FINALISE": "Finalize"
|
"FINALISE": "Finalize",
|
||||||
|
"LOCK": "DMP is locked by another user"
|
||||||
},
|
},
|
||||||
"SNACK-BAR": {
|
"SNACK-BAR": {
|
||||||
"UNSUCCESSFUL-DOI": "Unsuccessful DOI creation",
|
"UNSUCCESSFUL-DOI": "Unsuccessful DOI creation",
|
||||||
|
|
|
@ -697,7 +697,8 @@
|
||||||
"SAVE": "Save",
|
"SAVE": "Save",
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"DELETE": "Delete",
|
"DELETE": "Delete",
|
||||||
"FINALISE": "Finalize"
|
"FINALISE": "Finalize",
|
||||||
|
"LOCK": "DMP is locked by another user"
|
||||||
},
|
},
|
||||||
"SNACK-BAR": {
|
"SNACK-BAR": {
|
||||||
"UNSUCCESSFUL-DOI": "Unsuccessful DOI creation",
|
"UNSUCCESSFUL-DOI": "Unsuccessful DOI creation",
|
||||||
|
|
Loading…
Reference in New Issue