cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject [08/50] git commit: updated refs/heads/sf-plugins to bcf1c72
Date Tue, 28 Jul 2015 20:14:54 GMT
Add a button


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

Branch: refs/heads/sf-plugins
Commit: 4d126d2c0abd72a2e99d1f34c4a3d57970e81354
Parents: e484b47
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Mon Jul 6 16:12:12 2015 -0600
Committer: CloudStack <cloudstack@cloudstack-virtual-machine.(none)>
Committed: Tue Jul 28 13:42:40 2015 -0600

----------------------------------------------------------------------
 ui/plugins/sfSharedVolume/sfSharedVolume.js | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4d126d2c/ui/plugins/sfSharedVolume/sfSharedVolume.js
----------------------------------------------------------------------
diff --git a/ui/plugins/sfSharedVolume/sfSharedVolume.js b/ui/plugins/sfSharedVolume/sfSharedVolume.js
index bfd1212..d5e13c0 100644
--- a/ui/plugins/sfSharedVolume/sfSharedVolume.js
+++ b/ui/plugins/sfSharedVolume/sfSharedVolume.js
@@ -11,7 +11,7 @@
         fields: {
           name: { label: 'label.name' },
           mvip: { label: 'MVIP' },
-          username: { label: 'Username' },
+          username: { label: 'label.username' },
           zonename: { label: 'label.zone.name' }
         },
         dataProvider: function(args) {
@@ -26,6 +26,19 @@
             }
           });
         }
+      },
+      actions: {
+        add: {
+          label: 'Add Shared Volume',
+          preFilter: function(args) {
+            return true;
+          },
+          messages: {
+            notification: function(args) {
+              return 'Add Shared Volume';
+            }
+          }
+        }
       }
     });
   };


Mime
View raw message