From 54032550a5db3690cea5a75b3c183d5e690b08b2 Mon Sep 17 00:00:00 2001 From: Bill Erickson <berickxx@gmail.com> Date: Wed, 15 Jan 2020 10:32:52 -0500 Subject: [PATCH] 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> --- .../src/eg2/src/app/staff/share/marc-edit/editor.component.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"> -- 2.11.0