You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2014/01/08 19:37:47 UTC

git commit: updated refs/heads/master to 766dab6

Updated Branches:
  refs/heads/master 0911b73c8 -> 766dab64e


Instance list view: Truncate long names to prevent misalignment


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/766dab64
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/766dab64
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/766dab64

Branch: refs/heads/master
Commit: 766dab64e87d469f8451a8c3ed2ae56dfa02b334
Parents: 0911b73
Author: Brian Federle <br...@citrix.com>
Authored: Wed Jan 8 10:37:17 2014 -0800
Committer: Brian Federle <br...@citrix.com>
Committed: Wed Jan 8 10:37:17 2014 -0800

----------------------------------------------------------------------
 ui/scripts/instances.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/766dab64/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index 5300a54..d4a5482 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -139,16 +139,19 @@
             },
             fields: {
                 name: {
-                    label: 'label.name'
+                    label: 'label.name',
+                    truncate: true
                 },
                 instancename: {
                     label: 'label.internal.name'
                 },
                 displayname: {
-                    label: 'label.display.name'
+                    label: 'label.display.name',
+                    truncate: true
                 },
                 zonename: {
-                    label: 'label.zone.name'
+                    label: 'label.zone.name',
+                    truncate: true
                 },
                 state: {
                     label: 'label.state',