mirror of https://github.com/apache/cloudstack.git
bug 8263: Zone page - details tab - add isPublic row.
This commit is contained in:
parent
49cdddd275
commit
ea9ef6f076
|
|
@ -93,7 +93,9 @@
|
|||
'label.PreSetup': '<fmt:message key="label.PreSetup"/>',
|
||||
'label.iscsi': '<fmt:message key="label.iscsi"/>',
|
||||
'label.VMFS.datastore': '<fmt:message key="label.VMFS.datastore"/>',
|
||||
'label.none': '<fmt:message key="label.none"/>'
|
||||
'label.none': '<fmt:message key="label.none"/>',
|
||||
'label.yes': '<fmt:message key="label.yes"/>',
|
||||
'label.no': '<fmt:message key="label.no"/>'
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -167,8 +167,18 @@ dictionary = {
|
|||
<input class="text" id="guestcidraddress_edit" style="width: 200px; display: none;" type="text" />
|
||||
<div id="guestcidraddress_edit_errormsg" style="display:none"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid_rows even">
|
||||
<div class="grid_row_cell" style="width: 20%;">
|
||||
<div class="row_celltitles">
|
||||
<fmt:message key="label.public"/>:</div>
|
||||
</div>
|
||||
<div class="grid_row_cell" style="width: 79%;">
|
||||
<div class="row_celltitles" id="ispublic">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid_rows odd">
|
||||
<div class="grid_row_cell" style="width: 20%;">
|
||||
<div class="row_celltitles">
|
||||
<fmt:message key="label.domain"/>:</div>
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue