From 0a44474b55a96fa90b58cbdf006139ba8aa27cc0 Mon Sep 17 00:00:00 2001 From: MikeG451 Date: Fri, 10 Feb 2017 17:50:26 +0000 Subject: Make quotes consistent to match the sample config Per project conventions, should use single quotes. Also, update comments and defaults to match sample. Change-Id: I82ddcec230e7a03965d753db60968912b8d7da5c Closes-Bug: #1663624 --- templates/ui/tripleo_ui_config.js.erb | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/ui/tripleo_ui_config.js.erb b/templates/ui/tripleo_ui_config.js.erb index 1dd68c6..d49fe8e 100644 --- a/templates/ui/tripleo_ui_config.js.erb +++ b/templates/ui/tripleo_ui_config.js.erb @@ -1,11 +1,25 @@ window.tripleOUiConfig = { - "keystone": "<%= @endpoint_config_keystone %>", - "heat": "<%= @endpoint_config_heat %>", - "ironic": "<%= @endpoint_config_ironic %>", - "mistral": "<%= @endpoint_config_mistral %>", - "swift": "<%= @endpoint_config_swift %>", - "zaqar-websocket": "<%= @endpoint_config_zaqar %>", + // Service URLs (defaults to UI host) + // + // A valid Keystone service URL is required. The other endpoints + // will then be obtained automatically from the Keystone catalog. + // + 'keystone': '<%= @endpoint_config_keystone %>', + 'heat': '<%= @endpoint_config_heat %>', + 'ironic': '<%= @endpoint_config_ironic %>', + 'mistral': '<%= @endpoint_config_mistral %>', + 'swift': '<%= @endpoint_config_swift %>', + 'zaqar-websocket': '<%= @endpoint_config_zaqar %>', // Default websocket queue name - "zaqar_default_queue": "<%= @zaqar_default_queue %>" + 'zaqar_default_queue': '<%= @zaqar_default_queue %>' + + // Languages + // If you choose more than one language, a language switcher will appear in + // the navigation bar. + // Only 'en' (English) is enabled by default. + // 'languages': ['en-GB', 'en', 'ja', 'ko-KR', 'zh-CN', 'es'], + + // Logging + // 'loggers': ['console'] }; -- cgit 1.2.3-korg