OLD | NEW |
1 var juju_config = { | 1 var juju_config = { |
2 // These are blacklisted config items not passed into subapps mounted into | 2 // These are blacklisted config items not passed into subapps mounted into |
3 // the main App. | 3 // the main App. |
4 serverRouting: false, | 4 serverRouting: false, |
5 html5: true, | 5 html5: true, |
6 container: '#main', | 6 container: '#main', |
7 viewContainer: '#main', | 7 viewContainer: '#main', |
8 transitions: false, | 8 transitions: false, |
9 | 9 |
10 // These are the main application config items used and passed down into all | 10 // These are the main application config items used and passed down into all |
11 // SubApps. | 11 // SubApps. |
| 12 cachedFonts: {{cached_fonts}}, |
12 consoleEnabled: {{console_enabled}}, | 13 consoleEnabled: {{console_enabled}}, |
13 charm_store_url: 'https://manage.jujucharms.com/', | 14 charm_store_url: 'https://manage.jujucharms.com/', |
14 charmworldURL: {{charmworld_url}}, | 15 charmworldURL: {{charmworld_url}}, |
15 // socket_url is only honored in older versions of the GUI. | 16 // socket_url is only honored in older versions of the GUI. |
16 socket_url: '{{raw_protocol}}://{{address}}/ws', | 17 socket_url: '{{raw_protocol}}://{{address}}/ws', |
17 // socket_protocol is used instead by newer versions of the GUI to | 18 // socket_protocol is used instead by newer versions of the GUI to |
18 // dynamically generate the websocket address. | 19 // dynamically generate the websocket address. |
19 socket_protocol: {{protocol}}, | 20 socket_protocol: {{protocol}}, |
20 user: {{user}}, | 21 user: {{user}}, |
21 password: {{password}}, | 22 password: {{password}}, |
22 apiBackend: {{api_backend}}, // Value can be 'python' or 'go'. | 23 apiBackend: {{api_backend}}, // Value can be 'python' or 'go'. |
23 readOnly: {{readonly}}, | 24 readOnly: {{readonly}}, |
24 sandbox: {{sandbox}}, | 25 sandbox: {{sandbox}}, |
25 GA_key: {{ga_key}}, | 26 GA_key: {{ga_key}}, |
26 login_help: {{login_help}}, | 27 login_help: {{login_help}}, |
27 showGetJujuButton: {{show_get_juju_button}} | 28 showGetJujuButton: {{show_get_juju_button}} |
28 }; | 29 }; |
OLD | NEW |