From: Bill Erickson Date: Mon, 25 Jun 2018 16:19:36 +0000 (-0400) Subject: LP#1740412 Grid cell content tooltips X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b1e0da12b30a3a960fe7834f5862c02f5828846f;p=Evergreen.git 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 Signed-off-by: John Amundson Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index 9213e8cf65..183d8480a6 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -421,6 +421,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 cf48ed8fea..8e07c7bc7d 100644 --- a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 +++ b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 @@ -345,13 +345,20 @@ + ng-init="html_value=translateCellTemplate(col, item)"> + + + - - {{itemFieldValue(item, col) | egGridValueFilter:col:item}} + + {{text_value}}