From 8f44a224943e85e168d8224524ad669ee68a0aa0 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 25 Jun 2018 12:19:36 -0400 Subject: [PATCH] LP#1740412 Grid cell content tooltips Display a tooltip (popover), containing the full grid contents, when mousing over a grid cell. This allows users to see the full contents of a cell without having to resize the grid column. This applies to text contents and pre-compiled HTML contents. Signed-off-by: Bill Erickson Signed-off-by: Michele Morgan Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/staff/css/style.css.tt2 | 8 ++++++++ Open-ILS/src/templates/staff/share/t_autogrid.tt2 | 16 ++++++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index ff61b4a317..f59fbefb06 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -464,6 +464,14 @@ table.list tr.selected td { /* deprecated? */ box-shadow: none; } +.eg-grid-tooltip { + font-size: 110%; +} +/* avoid visited "blue" links over black background */ +.eg-grid-tooltip a { + color: white; +} + /* ---------------------------------------------------------------------- * /Grid diff --git a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 index 303e19141e..a7722f6e47 100644 --- a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 +++ b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 @@ -327,8 +327,12 @@ - + + + + - - {{itemFieldValue(item, col) | egGridValueFilter:col:item}} + + {{text_value}} -- 2.11.0