diff --git a/colab/home/context_processors.py b/colab/home/context_processors.py index a569bee..eb79083 100644 --- a/colab/home/context_processors.py +++ b/colab/home/context_processors.py @@ -25,3 +25,6 @@ def ribbon(request): 'url': getattr(settings, 'RIBBON_URL', url), } } + +def browserid_enabled(request): + return {'BROWSERID_ENABLED': getattr(settings, 'BROWSERID_ENABLED', False)} diff --git a/colab/settings.py b/colab/settings.py index 95c7b79..6186b09 100644 --- a/colab/settings.py +++ b/colab/settings.py @@ -200,6 +200,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( 'colab.home.context_processors.robots', 'colab.home.context_processors.ribbon', 'colab.home.context_processors.google_analytics', + 'colab.home.context_processors.browserid_enabled', 'colab.planet.context_processors.feedzilla', ) -- libgit2 0.21.2