PINES Custom - Make buttons on hold cancel dialogs consistent
authorTerran McCanna <tmccanna@georgialibraries.org>
Fri, 12 Nov 2021 22:10:51 +0000 (17:10 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 15 Aug 2022 18:24:20 +0000 (14:24 -0400)
This makes the order and wording of the AngularJS and Angular cancel hold
options consistent between the patron account and the hopeless holds interface.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/share/holds/cancel-dialog.component.html
Open-ILS/src/templates/staff/circ/share/t_cancel_hold_dialog.tt2

index a2d70cd..dae3100 100644 (file)
@@ -52,7 +52,7 @@
     <div class="modal-footer">
       <ng-container *ngIf="!chargeResponse">
         <button type="button" class="btn btn-warning"
-          (click)="close()" i18n>Cancel</button>
+          (click)="close()" i18n>Exit</button>
         <button type="button" class="btn btn-success"
           (click)="cancelBatch()" i18n>Cancel Hold</button>
       </ng-container>
index ed56d77..015e518 100644 (file)
@@ -30,8 +30,8 @@
       </div>
     </div>
     <div class="modal-footer">
-      <input type="submit" class="btn btn-success" value="[% l('Cancel Hold') %]"/>
       <button class="btn btn-warning" ng-click="cancel($event)">[% l('Exit') %]</button>
+      <input type="submit" class="btn btn-success" value="[% l('Cancel Hold') %]"/>
     </div>
   </div>
 </div>