Revision 365af933 snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_networks_view.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_networks_view.js | ||
---|---|---|
382 | 382 |
resolve_storage_object: function() { |
383 | 383 |
return this.collection |
384 | 384 |
}, |
385 |
|
|
386 | 385 |
show_connect_vms_overlay: function() { |
387 | 386 |
this.parent_view.show_connect_vms_overlay(); |
388 | 387 |
} |
... | ... | |
409 | 408 |
this.ports_toggler.find(".cont-toggler").toggleClass("open"); |
410 | 409 |
this.ports_visible = this.ports_toggler.find(".cont-toggler").hasClass("open"); |
411 | 410 |
}, |
411 |
|
|
412 |
get_network_icon: function() { |
|
413 |
var ico = this.model.get('is_public') ? 'internet.png' : 'network.png'; |
|
414 |
return synnefo.config.media_url + 'images/' + ico; |
|
415 |
}, |
|
412 | 416 |
|
413 | 417 |
post_hide: function() { |
414 | 418 |
views.NetworkView.__super__.post_hide.apply(this); |
Also available in: Unified diff