diff --git a/designsafe/context_processors.py b/designsafe/context_processors.py index c424aad305..e03f321f41 100644 --- a/designsafe/context_processors.py +++ b/designsafe/context_processors.py @@ -44,6 +44,7 @@ def debug(request): context['debug'] = True if settings.RENDER_REACT: context['react_flag'] = True + context['ds_environment'] = settings.DESIGNSAFE_ENVIRONMENT return context def site_verification(request): diff --git a/designsafe/templates/base.j2 b/designsafe/templates/base.j2 index f04e9740b8..c61398b765 100644 --- a/designsafe/templates/base.j2 +++ b/designsafe/templates/base.j2 @@ -8,6 +8,9 @@ {% block title %}{% page_attribute "page_title" %}{% endblock %} | DesignSafe-CI + {% if ds_environment != 'default' %} + + {% endif %} {% if 'designsafe.storage.published' in request.get_full_path %}