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> -->
</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">

View File

@ -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",

View File

@ -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",