Revision 610ab9fa
Inclut la modification pour tronquer le nom des hôtes sur les graphes.
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@3471 b22e2e97-25c9-44ff-b637-2e5ceca36478
javascript/source/class/vigigraph/Application.js | ||
---|---|---|
594 | 594 |
var duration; |
595 | 595 |
var fakeIncr=0; |
596 | 596 |
// Create UI elements |
597 |
var w=new qx.ui.window.Window(this.tr("\"%1\" Graph for host %2", graph, host), "icon/16/apps/accessories-time-tracking.png"); |
|
597 |
var ellipse_host; |
|
598 |
if (host.length > 35) |
|
599 |
ellipse_host = host.substring(0, 15) + '(...)' + host.substring(host.length - 15, host.length); |
|
600 |
else |
|
601 |
ellipse_host = host; |
|
602 |
var w=new qx.ui.window.Window(this.tr("Graph for \"%1\" on \"%2\"", graph, ellipse_host), |
|
603 |
"icon/16/apps/accessories-time-tracking.png"); |
|
598 | 604 |
var l=new qx.ui.layout.FlowLayout; |
599 | 605 |
l.set({"paddingTop": 26 }); |
600 | 606 |
var l2=new qx.ui.layout.HorizontalBoxLayout; |
Also available in: Unified diff