Skip to content

Commit

Permalink
Merge pull request #530 from i-dot-ai/bugfix/do-not-show-this-is-not-…
Browse files Browse the repository at this point in the history
…a-live-service-banner-in-prod

Don't show "this is not a live service" banner in prod.
  • Loading branch information
brunns authored Jun 6, 2024
2 parents bd6f9eb + cf54b40 commit c462c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_app/redbox_app/jinja2.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def environment(**options):
"humanize_timedelta": humanize_timedelta,
"template_localtime": template_localtime,
"to_user_timezone": to_user_timezone,
"environment": settings.ENVIRONMENT,
"environment": settings.ENVIRONMENT.value,
"security": settings.MAX_SECURITY_CLASSIFICATION.value,
}
)
Expand All @@ -84,7 +84,7 @@ def environment(**options):
"humanize_timedelta": humanize_timedelta,
"template_localtime": template_localtime,
"to_user_timezone": to_user_timezone,
"environment": settings.ENVIRONMENT,
"environment": settings.ENVIRONMENT.value,
"security": settings.MAX_SECURITY_CLASSIFICATION.value,
}
)
Expand Down

0 comments on commit c462c0a

Please sign in to comment.