summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-09-17 13:18:14 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-09-17 13:18:14 -0300
commit094b354a0725c0d75c1565541e5fed50f9950ed8 (patch)
tree5f6c7df3f12d424e6904735b301fc1d4902b8a63
parentb15c131f8f1806359d3e9e956f561b2a0a248569 (diff)
downloadaskbot-094b354a0725c0d75c1565541e5fed50f9950ed8.tar.gz
askbot-094b354a0725c0d75c1565541e5fed50f9950ed8.tar.bz2
askbot-094b354a0725c0d75c1565541e5fed50f9950ed8.zip
added url explaining how to enable cookies in the browser
-rw-r--r--askbot/const/__init__.py1
-rw-r--r--askbot/context.py4
-rw-r--r--askbot/skins/default/templates/blocks/bottom_scripts.html2
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">