change the help URL in Horizon so that it can be overriden

This commit is contained in:
Kevin Carter 2014-09-29 12:38:41 -05:00
parent 1ec913f21a
commit e66e614c82
2 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,10 @@ system_user: www-data
system_group: www-data
## Horizon Help URL Path
horizon_help_url: http://docs.rackspace.com/rpc/api/v9/rpc-faq-v9/content/rpc-common-front.html
# Installation directories
install_lib_dir: /usr/local/lib/python2.7/dist-packages

View File

@ -59,7 +59,7 @@ HORIZON_CONFIG = {
'fade_duration': 1500,
'types': ['alert-success', 'alert-info']
},
'help_url': "http://docs.openstack.org",
'help_url': "{{ horizon_help_url|default('http://docs.openstack.org') }}",
'exceptions': {
'recoverable': exceptions.RECOVERABLE,
'not_found': exceptions.NOT_FOUND,