Merge pull request #23 from stelucz/help_url
Fix missing help_url parameter
diff --git a/horizon/files/local_settings/kilo_settings.py b/horizon/files/local_settings/kilo_settings.py
index 5491390..5645850 100644
--- a/horizon/files/local_settings/kilo_settings.py
+++ b/horizon/files/local_settings/kilo_settings.py
@@ -18,7 +18,7 @@
'fade_duration': 1500,
'types': ['alert-success', 'alert-info']
},
- 'help_url': "http://docs.openstack.org",
+ 'help_url': "{{ app.get('help_url', 'http://docs.openstack.org') }}",
'exceptions': {'recoverable': exceptions.RECOVERABLE,
'not_found': exceptions.NOT_FOUND,
'unauthorized': exceptions.UNAUTHORIZED},
diff --git a/horizon/files/local_settings/mitaka_settings.py b/horizon/files/local_settings/mitaka_settings.py
index 9bc89cc..be188b5 100644
--- a/horizon/files/local_settings/mitaka_settings.py
+++ b/horizon/files/local_settings/mitaka_settings.py
@@ -18,7 +18,7 @@
'fade_duration': 1500,
'types': ['alert-success', 'alert-info']
},
- 'help_url': "http://docs.openstack.org",
+ 'help_url': "{{ app.get('help_url', 'http://docs.openstack.org') }}",
'exceptions': {'recoverable': exceptions.RECOVERABLE,
'not_found': exceptions.NOT_FOUND,
'unauthorized': exceptions.UNAUTHORIZED},
diff --git a/horizon/files/local_settings/newton_settings.py b/horizon/files/local_settings/newton_settings.py
index 9bc89cc..be188b5 100644
--- a/horizon/files/local_settings/newton_settings.py
+++ b/horizon/files/local_settings/newton_settings.py
@@ -18,7 +18,7 @@
'fade_duration': 1500,
'types': ['alert-success', 'alert-info']
},
- 'help_url': "http://docs.openstack.org",
+ 'help_url': "{{ app.get('help_url', 'http://docs.openstack.org') }}",
'exceptions': {'recoverable': exceptions.RECOVERABLE,
'not_found': exceptions.NOT_FOUND,
'unauthorized': exceptions.UNAUTHORIZED},
diff --git a/horizon/files/local_settings/ocata_settings.py b/horizon/files/local_settings/ocata_settings.py
index 9bc89cc..be188b5 100644
--- a/horizon/files/local_settings/ocata_settings.py
+++ b/horizon/files/local_settings/ocata_settings.py
@@ -18,7 +18,7 @@
'fade_duration': 1500,
'types': ['alert-success', 'alert-info']
},
- 'help_url': "http://docs.openstack.org",
+ 'help_url': "{{ app.get('help_url', 'http://docs.openstack.org') }}",
'exceptions': {'recoverable': exceptions.RECOVERABLE,
'not_found': exceptions.NOT_FOUND,
'unauthorized': exceptions.UNAUTHORIZED},