http://defect.opensolaris.org/bz/show_bug.cgi?id=19212

Santeri Vesalainen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #2 from Santeri Vesalainen <[email protected]> 
2012-11-02 11:55:50 UTC ---
Or fix list.jsp <style> css like this
(http://www.quirksmode.org/css/textoverflow.html)

http://src.opensolaris.org/source/xref/opengrok/trunk/web/list.jsp#55

hot replace in eg. jetty webapps\source\list.jsp or webapps/source/list.jsp


    if (annotation != null) {
        int r = annotation.getWidestRevision();
        int a = annotation.getWidestAuthor();
        cfg.addHeaderData("<style type=\"text/css\">"
            + ".blame .r { white-space: nowrap; overflow: hidden;
text-overflow: ellipsis; width: " + (r == 0 ? 2 : r>6 ? r*0.2 : r ) + "em; } "
            + ".blame .a { white-space: nowrap; overflow: hidden;
text-overflow: ellipsis; width: " + (a == 0 ? 6 : a>10 ? a*0.62 : a) + "em; } "
            + "</style>");
    }

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to