1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

Show secgroup name in individual info panel

This commit is contained in:
Carlos Martín 2015-02-17 18:23:44 +01:00
parent 8174fe08bc
commit 36b7f7025a

View File

@ -435,7 +435,7 @@ var create_security_group_wizard_html =
<div class="row">\
<div class="medium-4 columns">\
<label>'+tr("Network")+'\
<span class="tip">'+tr("Any: apply this rule to any connection regardless of its source or destination. Network: Apply this rule only to a custome define network range. Virtual Network: Apply this rule only to connections with origin or destination in one of the already define VNETs.")+'</span>\
<span class="tip">'+tr("Any: apply this rule to any connection regardless of its source or destination. Network: Apply this rule only to a custom defined network range. Virtual Network: Apply this rule only to connections with origin or destination in one of the already defined VNETs.")+'</span>\
</label>\
<select class="security_group_rule_network_sel">\
<option value="ANY" selected="selected">'+tr("Any")+'</option>\
@ -841,6 +841,8 @@ function updateSecurityGroupInfo(request,security_group){
security_group_info = security_group.SECURITY_GROUP;
security_group_template = security_group_info.TEMPLATE;
$(".resource-info-header", $("#secgroups-tab")).html(security_group_info.NAME);
stripped_security_group_template = $.extend({}, security_group_info.TEMPLATE);
delete stripped_security_group_template["RULE"];