B #5736: Import resources only from local zone (#1811)

(cherry picked from commit 6a65b9bff0)
This commit is contained in:
Frederick Borges authored and Tino Vazquez committed 2022-02-24 12:48:12 +01:00
1 parent 5cff8b46ef
commit 9fdd6df8d6
4 files changed
+5 -4

No files matched your search

@@ -33,7 +33,7 @@ define(function(require) {
type: "create_dialog",
text: Locale.tr("Import"),
layout: "create_flatten",
custom_classes: "only-sunstone-list",
custom_classes: "only-sunstone-list" + ((config.id_own_federation !== config.zone_id) ? " hide" : ""),
alwaysActive: true
},
"Datastore.addtocluster" : {
@@ -37,7 +37,7 @@ define(function(require) {
type: "create_dialog",
text: Locale.tr("Import"),
layout: "create_flatten",
custom_classes: "only-sunstone-list",
custom_classes: "only-sunstone-list" + ((config.id_own_federation !== config.zone_id) ? " hide" : ""),
alwaysActive: true
},
"Image.chown" : {
@@ -33,7 +33,7 @@ define(function(require) {
type: "create_dialog",
text: Locale.tr("Import"),
layout: "create_flatten",
custom_classes: "only-sunstone-list",
custom_classes: "only-sunstone-list" + ((config.id_own_federation !== config.zone_id) ? " hide" : ""),
alwaysActive: true
},
"Template.upload_marketplace_dialog" : {
@@ -34,7 +34,8 @@ define(function(require) {
type: "create_dialog",
layout: "create_flatten",
text: Locale.tr("Import"),
custom_classes: "only-sunstone-list"
custom_classes: "only-sunstone-list" + ((config.id_own_federation !== config.zone_id) ? " hide" : ""),
alwaysActive: true
},
"Network.instantiate_dialog" : {
type: "create_dialog",