LP1777181 - Make backdating more visible in check in. user/stompro/lp1777181_backdate_visibility
authorJosh Stompro <stompro@stompro.org>
Wed, 13 Nov 2019 19:48:50 +0000 (13:48 -0600)
committerJosh Stompro <stompro@stompro.org>
Wed, 13 Nov 2019 19:48:50 +0000 (13:48 -0600)
Add another visual indication that backdating is in use in check in screen.

To test, visit check in screen and pick a date for the effective date.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Open-ILS/src/templates/staff/circ/checkin/t_checkin.tt2

index 31b0b61..417f26a 100644 (file)
@@ -1,7 +1,9 @@
 <div class="container-fluid" style="text-align:center">
-  <div class="alert alert-info alert-less-pad strong-text-2">
+  <div class="alert alert-info alert-less-pad strong-text-2"
+    ng-class="{'alert-warning': is_backdate()}">
     <span ng-if="!is_capture">[% l('Checkin Items') %]</span>
     <span ng-if="is_capture">[% l('Capture Holds') %]</span>
+    <span ng-if="is_backdate()" class="btn btn-danger">[% l('Backdating Enabled') %]</span>
   </div>
 </div>