Commit eb5a6ef2 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

cyclades ui: Include missing index view setting

UNKNOWN_OS setting was missing from the index view context, causing javascript
errors.
parent a59e30bd
...@@ -200,7 +200,7 @@ def home(request): ...@@ -200,7 +200,7 @@ def home(request):
UPDATE_INTERVAL_INCREASE_AFTER_CALLS_COUNT, UPDATE_INTERVAL_INCREASE_AFTER_CALLS_COUNT,
'update_interval_fast': UPDATE_INTERVAL_FAST, 'update_interval_fast': UPDATE_INTERVAL_FAST,
'update_interval_max': UPDATE_INTERVAL_MAX, 'update_interval_max': UPDATE_INTERVAL_MAX,
'changes_since_alignment': CHANGES_SINCE_ALIGNMENT, 'changes_since_alignment': CHANGES_SINCE_ALIGNMENT,
'image_icons': IMAGE_ICONS, 'image_icons': IMAGE_ICONS,
'logout_redirect': LOGOUT_URL, 'logout_redirect': LOGOUT_URL,
'login_redirect': LOGIN_URL, 'login_redirect': LOGIN_URL,
...@@ -217,6 +217,7 @@ def home(request): ...@@ -217,6 +217,7 @@ def home(request):
'flavors_disk_templates_info': 'flavors_disk_templates_info':
json.dumps(FLAVORS_DISK_TEMPLATES_INFO), json.dumps(FLAVORS_DISK_TEMPLATES_INFO),
'support_ssh_os_list': json.dumps(SUPPORT_SSH_OS_LIST), 'support_ssh_os_list': json.dumps(SUPPORT_SSH_OS_LIST),
'unknown_os': json.dumps(UNKNOWN_OS),
'os_created_users': json.dumps(OS_CREATED_USERS), 'os_created_users': json.dumps(OS_CREATED_USERS),
'userdata_keys_limit': json.dumps(MAX_SSH_KEYS_PER_USER), 'userdata_keys_limit': json.dumps(MAX_SSH_KEYS_PER_USER),
'use_glance': json.dumps(ENABLE_GLANCE), 'use_glance': json.dumps(ENABLE_GLANCE),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment