cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to 55148d9
Date Tue, 04 Jun 2013 21:16:06 GMT
Updated Branches:
  refs/heads/master e78fa02da -> 55148d90a


CLOUDSTACK-2185: Display VM IP on static NAT detail page


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

Branch: refs/heads/master
Commit: 55148d90a8abb9e399d54e3d1c06c0584d1f27b0
Parents: e78fa02
Author: Brian Federle <bfederle@gmail.com>
Authored: Tue Jun 4 14:16:00 2013 -0700
Committer: Brian Federle <bfederle@gmail.com>
Committed: Tue Jun 4 14:16:00 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui-custom/ipRules.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/55148d90/ui/scripts/ui-custom/ipRules.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/ipRules.js b/ui/scripts/ui-custom/ipRules.js
index a2f721a..34b2398 100644
--- a/ui/scripts/ui-custom/ipRules.js
+++ b/ui/scripts/ui-custom/ipRules.js
@@ -70,10 +70,12 @@
           response: {
             success: function(args) {
               var vmID = args.data.virtualmachineid;
+              var vmIP = args.data.vmipaddress;
               var vmName = args.data.virtualmachinename;
 
               $vmName.append(
-                $('<span>').html('VM: ' + vmName)
+                $('<span>').html('VM: ' + _s(vmName)),
+                $('<span>').html('<br/>VM IP: ' + vmIP)
               );
 
               $vmName.click(function() {


Mime
View raw message