LP#1945355 Inconsistent button placement: delete holdings dialog
authorDan Briem <dbriem@wlsmail.org>
Wed, 9 Feb 2022 16:44:54 +0000 (11:44 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Tue, 31 Jan 2023 14:24:27 +0000 (09:24 -0500)
The cancel button on the delete-volcopy-dialog now appears last
to be consistent with the eg-confirm dialogs.

To test:
1. set the ou setting "Alert on empty bib records" to true
2. delete the last copy on a record
3. note the Delete Holdings/OK and Cancel buttons are in the
   same order on the delete and confirmation dialogs

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Jennifer Weston <jennifer.weston@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/share/holdings/delete-volcopy-dialog.component.html

index f7709cd..a56a19e 100644 (file)
   </div>
   <div class="modal-footer">
     <ng-container>
-      <button type="button" class="btn btn-warning" 
-        (click)="close()" i18n>Cancel</button>
       <button type="button" class="btn btn-success" 
         (click)="deleteHoldings()" i18n>
         Delete Holdings
       </button>
+      <button type="button" class="btn btn-warning" 
+        (click)="close()" i18n>Cancel</button>
     </ng-container>
   </div>
 </ng-template>