diff --git a/src/registrar/context_processors.py b/src/registrar/context_processors.py index f778f1ab1..abab72dac 100644 --- a/src/registrar/context_processors.py +++ b/src/registrar/context_processors.py @@ -31,3 +31,8 @@ def is_demo_site(request): should not appear. """ return {"IS_DEMO_SITE": settings.IS_DEMO_SITE} + + +def is_production(request): + """Add a boolean if this is our production site.""" + return {"IS_PRODUCTION": settings.IS_PRODUCTION} diff --git a/src/registrar/templates/base.html b/src/registrar/templates/base.html index 72c30f323..9415db4d4 100644 --- a/src/registrar/templates/base.html +++ b/src/registrar/templates/base.html @@ -3,6 +3,14 @@
+ {% if IS_PRODUCTION %} + + + + {% endif %} +