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>
Wed, 30 Jan 2019 14:18:02 +0000 (09:18 -0500)
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 dce5481..5640000 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:egDateAndTimeFormat}}
         </div>
-        <div class="col-md-3">
+        <div class="col-md-3 long-text-break">
           {{g.rollback_time() | date:egDateAndTimeFormat}}
         </div>
         <div class="col-md-2">
index 4647ab3..cce60dd 100644 (file)
@@ -575,6 +575,9 @@ eg-grid-field {
 
 .eg-grid-tooltip .tooltip-inner {
   max-width: 400px;
+
+.long-text-break {
+  word-wrap: break-word;
 }
 
 [%#