cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sate...@apache.org
Subject [38/50] git commit: updated refs/heads/vmware-datamodel to 2acbe30
Date Fri, 03 May 2013 17:12:06 GMT
Widget change to incorporate VM state while adding a load balancer rule


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

Branch: refs/heads/vmware-datamodel
Commit: ba9feabe8c5d5e4bc4634597f62caba520bbd1f6
Parents: 4933533
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Thu May 2 21:02:51 2013 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
Committed: Thu May 2 21:02:51 2013 +0530

----------------------------------------------------------------------
 ui/scripts/ui/widgets/multiEdit.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ba9feabe/ui/scripts/ui/widgets/multiEdit.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/multiEdit.js b/ui/scripts/ui/widgets/multiEdit.js
index 27b14d1..59e85bf 100755
--- a/ui/scripts/ui/widgets/multiEdit.js
+++ b/ui/scripts/ui/widgets/multiEdit.js
@@ -653,6 +653,11 @@
           });
         });
 
+        var itemState=multiRule._itemState ? item[multiRule._itemState] :item.state;
+        var $itemState = $('<span>').html(_s(itemState));
+        $tr.append($('<td>').addClass('state').appendTo($tr).append("VM State - ").append($itemState));
+
+
         if (itemActions) {
           var $itemActions = $('<td>').addClass('actions item-actions');
 


Mime
View raw message