beta: header chip flagged by BETA_MODE config (default on)

This commit is contained in:
Giorgio Gilestro 2026-05-25 22:42:19 +02:00
parent 8bc546220d
commit a7d657e1b4
4 changed files with 20 additions and 0 deletions

View file

@ -9,6 +9,7 @@ from fastapi.templating import Jinja2Templates
from markupsafe import Markup, escape
from app import branding
from app.config import get_settings
from app.services.glossary import wrap_glossary
@ -75,3 +76,4 @@ templates.env.globals["TAGLINE"] = branding.TAGLINE
templates.env.globals["LEGAL_OPERATOR"] = branding.LEGAL_OPERATOR
templates.env.globals["OPERATOR_EMAIL"] = branding.OPERATOR_EMAIL
templates.env.globals["OPERATOR_JURISDICTION"] = branding.OPERATOR_JURISDICTION
templates.env.globals["BETA_MODE"] = get_settings().BETA_MODE