cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/master to eba7cc7
Date Mon, 17 Nov 2014 21:06:55 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 7aa64b9ef -> eba7cc78d


CLOUDSTACK-7927: UI > Infrastructure > Primary Storage > detailView > add "View
Volumes" link that will list all volumes under this primary storage when being clicked.


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

Branch: refs/heads/master
Commit: eba7cc78da751cc25994a5a736a87ce2e83c394e
Parents: 7aa64b9
Author: Jessica Wang <jessicawang@apache.org>
Authored: Mon Nov 17 13:05:08 2014 -0800
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Mon Nov 17 13:06:43 2014 -0800

----------------------------------------------------------------------
 ui/scripts/storage.js | 7 ++++++-
 ui/scripts/system.js  | 4 ++++
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/eba7cc78/ui/scripts/storage.js
----------------------------------------------------------------------
diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js
index 6585e1a..d18b211 100644
--- a/ui/scripts/storage.js
+++ b/ui/scripts/storage.js
@@ -477,7 +477,12 @@
                                 $.extend(data, {
                                     virtualMachineId: args.context.instances[0].id
                                 });
-                            }
+                            }                           
+                            if ("primarystorages" in args.context) {
+                                $.extend(data, {
+                                	storageid: args.context.primarystorages[0].id
+                                });
+                            }                           
                         }
 
                         $.ajax({

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/eba7cc78/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 80c608f..13f1d85 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -17419,6 +17419,10 @@
                     
                     detailView: {
                         name: "Primary storage details",
+                        viewAll: {
+                            label: 'label.volumes',
+                            path: 'storage.volumes'
+                        },
                         isMaximized: true,
                         actions: {
                             edit: {


Mime
View raw message