X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetstack%2Fcore%2Fxoslib%2Fstatic%2Fjs%2FxosTenant.js;h=0182f9f73e6acfa33ad404609105dd6d6d69638a;hb=058ff324def456d1e4f2d85069b91f6cfc1108eb;hp=c0d9ab9beb570e32df2965226ca7f9fb6bab642d;hpb=753a13edfd39603fbdc59747c4d7c2b59a2d06b9;p=plstackapi.git diff --git a/planetstack/core/xoslib/static/js/xosTenant.js b/planetstack/core/xoslib/static/js/xosTenant.js index c0d9ab9..0182f9f 100644 --- a/planetstack/core/xoslib/static/js/xosTenant.js +++ b/planetstack/core/xoslib/static/js/xosTenant.js @@ -137,7 +137,8 @@ XOSTenantApp.buildViews = function() { app: XOSTenantApp, detailFields: ["serviceClass", "default_image", "default_flavor", "network_ports", "mount_data_sets"], fieldDisplayNames: {serviceClass: "Service Level", "default_flavor": "Flavor", "default_image": "Image", "mount_data_sets": "Data Sets"}, - helpText: {"default_image": "Existing slivers will be re-instantiated if changed", + helpText: {"serviceClass": "Existing slivers will be re-instantiated if changed", + "default_image": "Existing slivers will be re-instantiated if changed", "default_flavor": "Existing slivers will be re-instantiated if changed"}, onShow: function() { @@ -177,6 +178,9 @@ XOSTenantApp.buildViews = function() { sliceChanged: function(id) { XOSTenantApp.navToSlice(id); }, + filter: function(slice) { + return slice.attributes.current_user_can_see; + }, }); xos.sites.fetch();