mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Feature #495: Do not show leases on ranged vnets
This commit is contained in:
parent
a8d3c40fb0
commit
57193578e2
@ -3107,14 +3107,16 @@ function updateVNetworkInfo(request,vn){
|
||||
<td class="key_td">Public</td>\
|
||||
<td class="value_td">'+(parseInt(vn_info.PUBLIC) ? "yes" : "no" )+'</td>\
|
||||
</tr>\
|
||||
</table>\
|
||||
<table id="vn_leases_info_table" class="info_table">\
|
||||
</table>';
|
||||
if (vn_info.TEMPLATE.TYPE == "FIXED"){
|
||||
rendered_info += '<table id="vn_leases_info_table" class="info_table">\
|
||||
<thead>\
|
||||
<tr><th colspan="2">Leases information</th></tr>\
|
||||
</thead>'+
|
||||
prettyPrintJSON(vn_info.LEASES)+
|
||||
'</table>\
|
||||
</div>\
|
||||
'</table>';
|
||||
}
|
||||
rendered_info += '</div>\
|
||||
<div id="vn_template">\
|
||||
<table id="vn_template_table" class="info_table">\
|
||||
<thead><tr><th colspan="2">Virtual Network template</th></tr></thead>'+
|
||||
|
Loading…
x
Reference in New Issue
Block a user