Merge pull request #183 from cloudnull/Issue542

change the help URL in Horizon so that it can be overriden
This commit is contained in:
Dave Wilde 2014-09-30 10:40:02 -05:00
commit 41c6708b21
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,