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 2013/06/04 23:16:06 UTC

git commit: updated refs/heads/master to 55148d9

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 <bf...@gmail.com>
Authored: Tue Jun 4 14:16:00 2013 -0700
Committer: Brian Federle <bf...@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() {