Revision b76769ef snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_create_view.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_create_view.js | ||
---|---|---|
935 | 935 |
var active = true; |
936 | 936 |
var key = 'available'; |
937 | 937 |
var available_dsp = quotas.get('cyclades.'+type).get_readable(key, active); |
938 |
var available = quotas.get('cyclades.'+type).get(key); |
|
938 |
var available = quotas.get('cyclades.'+type).get_available(key);
|
|
939 | 939 |
var content = "({0} left)".format(available_dsp); |
940 | 940 |
if (available <= 0) { content = "(None left)" } |
941 | 941 |
|
Also available in: Unified diff