]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/context.py
Put the badge count denormalization back.
[osqa.git] / forum / context.py
index f7139ac404769e056e8bba04b539439d3d2fb075..e93781089ae6cd6bb505c11a41cc5ff22e805f13 100644 (file)
@@ -1,16 +1,19 @@
 from forum import settings
 from django.conf import settings as djsettings
+
 def application_settings(context):
     my_settings = {
         'APP_TITLE' : settings.APP_TITLE,
         'APP_SHORT_NAME' : settings.APP_SHORT_NAME,
+        'SHOW_WELCOME_BOX' : settings.SHOW_WELCOME_BOX,
         'APP_URL'   : settings.APP_URL,
         'APP_KEYWORDS' : settings.APP_KEYWORDS,
         'APP_DESCRIPTION' : settings.APP_DESCRIPTION,
         'APP_INTRO' : settings.APP_INTRO,
         'APP_LOGO' : settings.APP_LOGO,
         'EMAIL_VALIDATION': 'off',
-        'FEEDBACK_SITE_URL': settings.FEEDBACK_SITE_URL,
+               'SUPPORT_URL': settings.SUPPORT_URL,
+               'CONTACT_URL': settings.CONTACT_URL,
         'FORUM_SCRIPT_ALIAS': djsettings.FORUM_SCRIPT_ALIAS,
         'LANGUAGE_CODE': djsettings.LANGUAGE_CODE,
         'GOOGLE_SITEMAP_CODE':settings.GOOGLE_SITEMAP_CODE,
@@ -18,6 +21,9 @@ def application_settings(context):
         'WIKI_ON':settings.WIKI_ON,
         'OSQA_SKIN':djsettings.OSQA_DEFAULT_SKIN,
         'APP_FAVICON':settings.APP_FAVICON,
+        'OSQA_VERSION': settings.OSQA_VERSION,
+        'ADMIN_MEDIA_PREFIX': djsettings.ADMIN_MEDIA_PREFIX,
+        'SVN_REVISION': settings.SVN_REVISION,
         }
     return {'settings':my_settings}