VirtualBox

Ignore:
Timestamp:
May 30, 2016 3:08:42 PM (9 years ago)
Author:
vboxsync
Message:

wuireport.py: width

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuireport.py

    r61297 r61298  
    585585        sHtml += WuiTestBoxDetailsLink(oTestBox.idTestBox).toHtml();
    586586        sHtml += u'</td>';
    587         sHtml += u'<td>%s %s</td>' % (webutils.escapeElem(oTestBox.sOs), webutils.escapeElem(oTestBox.sOsVersion),);
     587        sOsAndVer = '%s %s' % (oTestBox.sOs, oTestBox.sOsVersion.strip(),);
     588        if len(sOsAndVer) < 22:
     589            sHtml += u'<td>%s</td>' % (webutils.escapeElem(sOsAndVer),);
     590        else: # wonder if td.title works..
     591            sHtml += u'<td title="%s">%s...</td>' % (webutils.escapeAttr(sOsAndVer), webutils.escapeElem(sOsAndVer[:20]));
    588592        sHtml += u'<td>%s</td>'    % (webutils.escapeElem(oTestBox.sCpuArch),);
    589593        sHtml += u'<td>%s</td>'    % (webutils.escapeElem(oTestBox.sCpuVendor),);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette