From d946ba2cee6673477eb202430ebc13434dd0a7cd Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Mon, 4 Jun 2018 17:37:58 -0400 Subject: [PATCH] LP#1721139 User Buckets - View Batch Changes date/time display not wrapping. 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 --- Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2 | 4 ++-- Open-ILS/src/templates/staff/css/style.css.tt2 | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2 b/Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2 index dce5481f46..5640000e5d 100644 --- a/Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2 @@ -22,10 +22,10 @@
{{g.name()}}
-
+
{{g.complete_time() | date:egDateAndTimeFormat}}
-
+
{{g.rollback_time() | date:egDateAndTimeFormat}}
diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index d06bf485cf..6c11a19fb0 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -575,6 +575,9 @@ eg-grid-field { .eg-grid-tooltip .tooltip-inner { max-width: 400px; + +.long-text-break { + word-wrap: break-word; } [%# -- 2.11.0