Revert "make finalize description editor button disabled"
This reverts commit 9f22d3742a
.
This commit is contained in:
parent
fd5bcb3c08
commit
ad1dc87115
|
@ -67,11 +67,9 @@
|
||||||
<button [disabled]="saving" mat-menu-item (click)="saveAndClose()" type="button">{{ 'DESCRIPTION-EDITOR.ACTIONS.SAVE-AND-CLOSE' | translate }}</button>
|
<button [disabled]="saving" mat-menu-item (click)="saveAndClose()" type="button">{{ 'DESCRIPTION-EDITOR.ACTIONS.SAVE-AND-CLOSE' | translate }}</button>
|
||||||
<button [disabled]="saving" mat-menu-item (click)="saveAndContinue()" type="button">{{ 'DESCRIPTION-EDITOR.ACTIONS.SAVE-AND-CONTINUE' | translate }}</button>
|
<button [disabled]="saving" mat-menu-item (click)="saveAndContinue()" type="button">{{ 'DESCRIPTION-EDITOR.ACTIONS.SAVE-AND-CONTINUE' | translate }}</button>
|
||||||
</mat-menu>
|
</mat-menu>
|
||||||
<div [matTooltipDisabled]="formGroup.pristine" matTooltip="{{'PLAN-EDITOR.ACTIONS.FINALIZE.CAN-NOT-FINALIZE' | translate}}" >
|
<button [disabled]="saving" *ngIf="canEdit && !isLocked && !viewOnly && hasReversableStatus() == false && canEdit" mat-button class="rounded-btn neutral mr-2" type="button" (click)="finalize()">{{ 'DESCRIPTION-EDITOR.ACTIONS.FINALIZE' | translate }}</button>
|
||||||
<button [disabled]="saving || isDirty()" *ngIf="canEdit && !isLocked && !viewOnly && hasReversableStatus() == false && canEdit" mat-button class="rounded-btn neutral mr-2" type="button" (click)="finalize()">{{ 'DESCRIPTION-EDITOR.ACTIONS.FINALIZE.FINALIZE' | translate }}</button>
|
|
||||||
</div>
|
|
||||||
<button [disabled]="saving" *ngIf="isLocked" mat-button disabled class="rounded-btn neutral cursor-default" type="button">{{ 'PLAN-OVERVIEW.LOCKED' | translate}}</button>
|
<button [disabled]="saving" *ngIf="isLocked" mat-button disabled class="rounded-btn neutral cursor-default" type="button">{{ 'PLAN-OVERVIEW.LOCKED' | translate}}</button>
|
||||||
<button [disabled]="saving || isDirty()" *ngIf="hasReversableStatus() && !isLocked && canEdit" mat-button class="rounded-btn neutral mr-2" (click)="reverse()" type="button">{{ 'DESCRIPTION-EDITOR.ACTIONS.REVERSE' | translate }}</button>
|
<button [disabled]="saving" *ngIf="hasReversableStatus() && !isLocked && canEdit" mat-button class="rounded-btn neutral mr-2" (click)="reverse()" type="button">{{ 'DESCRIPTION-EDITOR.ACTIONS.REVERSE' | translate }}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1145,10 +1145,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1146,10 +1146,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
|
@ -1148,10 +1148,7 @@
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"SAVE-AND-CONTINUE": "Save & Continue",
|
"SAVE-AND-CONTINUE": "Save & Continue",
|
||||||
"SAVE-AND-CLOSE": "Save & Close",
|
"SAVE-AND-CLOSE": "Save & Close",
|
||||||
"FINALIZE": {
|
"FINALIZE": "Finalize",
|
||||||
"FINALIZE": "Finalize",
|
|
||||||
"CAN-NOT-FINALIZE": "Save your changes first"
|
|
||||||
},
|
|
||||||
"DISCARD": {
|
"DISCARD": {
|
||||||
"DISCARD": "Discard",
|
"DISCARD": "Discard",
|
||||||
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
"DISCARD-NEW-MESSAGE": "All unsaved changes will be lost. Would you like to proceed?",
|
||||||
|
|
Loading…
Reference in New Issue