diff --git a/ui/index.jsp b/ui/index.jsp index e9bd32718b7..1a19af6b9ef 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -93,7 +93,9 @@ 'label.PreSetup': '', 'label.iscsi': '', 'label.VMFS.datastore': '', - 'label.none': '' + 'label.none': '', + 'label.yes': '', + 'label.no': '' }; diff --git a/ui/jsp/zone.jsp b/ui/jsp/zone.jsp index e04d6cdefbf..880e9f6b238 100644 --- a/ui/jsp/zone.jsp +++ b/ui/jsp/zone.jsp @@ -167,8 +167,18 @@ dictionary = { - +
+
+
+ :
+
+
+
+
+
+
+
:
diff --git a/ui/scripts/cloud.core.zone.js b/ui/scripts/cloud.core.zone.js index 34ea8dc9d1c..484e8891293 100644 --- a/ui/scripts/cloud.core.zone.js +++ b/ui/scripts/cloud.core.zone.js @@ -163,6 +163,11 @@ function zoneJsonToDetailsTab() { $thisTab.find("#guestcidraddress_edit").val(fromdb(jsonObj.guestcidraddress)); $thisTab.find("#domain").text(fromdb(jsonObj.domain)); + + if(jsonObj.domain == null) + $thisTab.find("#ispublic").text(g_dictionary["label.yes"]); + else + $thisTab.find("#ispublic").text(g_dictionary["label.no"]); //actions *** var $actionLink = $thisTab.find("#action_link");