Revision d9128cf3 snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_ips_view.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_ips_view.js | ||
---|---|---|
111 | 111 |
status_display: function(v) { |
112 | 112 |
return this.status_map[this.model.get('status')]; |
113 | 113 |
}, |
114 |
|
|
115 |
model_icon: function() { |
|
116 |
var img = 'ip-icon-detached.png'; |
|
117 |
var src = synnefo.config.images_url + '/{0}'; |
|
118 |
if (this.model.get('port')) { |
|
119 |
img = 'ip-icon.png'; |
|
120 |
} |
|
121 |
return src.format(img); |
|
122 |
}, |
|
114 | 123 |
|
115 | 124 |
show_connect_overlay: function() { |
116 | 125 |
this.model.actions.reset_pending(); |
Also available in: Unified diff