LP#1721139 User Buckets - View Batch Changes date/time display not wrapping.
authorGarry Collum <gcollum@gmail.com>
Mon, 4 Jun 2018 21:37:58 +0000 (17:37 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 7 Jun 2018 12:13:04 +0000 (08:13 -0400)
This fixes a wrapping issue in Firefox for the date/time display in the 'View Batch Changes' modal in user buckets.  The css change was made to style.css.tt2 because the class can be used for other tables with text wrapping issues.

To test.
1. Using user buckets, make some batch changes on some patrons and roll back some of those changes.
2. Using Firefox, click on the 'View Batch Edits' button.
3. Apply patch.
4. Delete browser cache, and then log back in and 'View Batch Edits' again.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2
Open-ILS/src/templates/staff/css/style.css.tt2

index dc98390..407338e 100644 (file)
         <div class="col-md-4">
           {{g.name()}}
         </div>
-        <div class="col-md-3">
+        <div class="col-md-3 long-text-break">
           {{g.complete_time() | date}}
         </div>
-        <div class="col-md-3">
+        <div class="col-md-3 long-text-break">
           {{g.rollback_time() | date}}
         </div>
         <div class="col-md-2">
index 74cf439..ad4667c 100644 (file)
@@ -477,6 +477,10 @@ eg-grid-field {
   display: none;
 }
 
+.long-text-break {
+  word-wrap: break-word;
+}
+
 [%# 
 vim: ft=css 
 %]