Commits

Ratnadeep Debnath committed 049d836

Bug Fix: Feedback link was not displayed even if settings.ENABLE_CONTACT_FORM=True

Comments (0)

Files changed (2)

transifex/settings/50-project.conf

         'userprofile.context_processors.css_classes',
         'txcommon.context_processors.site_section',
         'txcommon.context_processors.bidi',
+        'txcommon.context_processors.txsettings',
 )
 
 MIDDLEWARE_CLASSES = [

transifex/txcommon/context_processors.py

     else:
         extra_context = { 'LANGUAGE_DIRECTION':'ltr', }
     return extra_context
+
+def txsettings(request):
+    """Adds tx settings variable to template context"""
+    return {'settings' : settings}