From: Bill Erickson <berickxx@gmail.com> Date: Wed, 15 Jan 2020 15:32:52 +0000 (-0500) Subject: LP1852782 Improve MARC edit save/delete button placement X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=54032550a5db3690cea5a75b3c183d5e690b08b2;p=evergreen%2Fjoelewis.git LP1852782 Improve MARC edit save/delete button placement Move the Save Record button to the left of the Delete Record, which is more consistent with other yes/no button combinations in the client. Also adds additional spacing and a faint border between the two buttons. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu> --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html index e3daf9093e..95baa0765e 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html @@ -56,15 +56,17 @@ </div> </ng-container> + <div class="pr-3 mr-3 border-right"> + <button class="btn btn-success" (click)="saveRecord()" + [disabled]="record && record.deleted" i18n>Save Changes</button> + </div> + <ng-container *ngIf="record && record.id"> <button *ngIf="!record.deleted" class="btn btn-warning" [disabled]="inPlaceMode" (click)="deleteRecord()" i18n>Delete Record</button> <button *ngIf="record.deleted" class="btn btn-info" [disabled]="inPlaceMode" (click)="undeleteRecord()" i18n>Undelete Record</button> </ng-container> - - <button class="btn btn-success ml-2" (click)="saveRecord()" - [disabled]="record && record.deleted" i18n>Save Changes</button> </div> <ng-container *ngIf="dataSaving">