diff options
-rw-r--r-- | askbot/const/__init__.py | 1 | ||||
-rw-r--r-- | askbot/context.py | 4 | ||||
-rw-r--r-- | askbot/skins/default/templates/blocks/bottom_scripts.html | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py index d1449dd8..73c71800 100644 --- a/askbot/const/__init__.py +++ b/askbot/const/__init__.py @@ -263,6 +263,7 @@ DEPENDENCY_URLS = { 'facebook-apps': 'http://www.facebook.com/developers/createapp.php', 'google-webmaster-tools': 'https://www.google.com/webmasters/tools/home', 'identica-apps': 'http://identi.ca/settings/oauthapps', + 'noscript': 'https://www.google.com/support/bin/answer.py?answer=23852', 'linkedin-apps': 'https://www.linkedin.com/secure/developer', 'mathjax': 'http://www.mathjax.org/resources/docs/?installation.html', 'recaptcha': 'http://google.com/recaptcha', diff --git a/askbot/context.py b/askbot/context.py index 5a174585..6dc38f79 100644 --- a/askbot/context.py +++ b/askbot/context.py @@ -5,6 +5,7 @@ and the application available for the templates from django.conf import settings import askbot from askbot import api +from askbot import const from askbot.conf import settings as askbot_settings from askbot.skins.loaders import get_skin from askbot.utils import url_utils @@ -22,5 +23,6 @@ def application_settings(request): return { 'settings': my_settings, 'skin': get_skin(request), - 'moderation_items': api.get_info_on_moderation_items(request.user) + 'moderation_items': api.get_info_on_moderation_items(request.user), + 'noscript_url': const.DEPENDENCY_URLS['noscript'], } diff --git a/askbot/skins/default/templates/blocks/bottom_scripts.html b/askbot/skins/default/templates/blocks/bottom_scripts.html index 6fbd6adc..771c13a4 100644 --- a/askbot/skins/default/templates/blocks/bottom_scripts.html +++ b/askbot/skins/default/templates/blocks/bottom_scripts.html @@ -4,7 +4,7 @@ #} <div id="no-javascript"> <noscript class="noscript"> - {% trans app_name = settings.APP_SHORT_NAME %}Please note: {{app_name}} requires javascript to work properly, please enable javascript in your browser{% endtrans %} + {% trans app_name = settings.APP_SHORT_NAME %}Please note: {{app_name}} requires javascript to work properly, please enable javascript in your browser, <a href="{{noscript_url}}">here is how</a>{% endtrans %} </noscript> </div> <script type="text/javascript"> |