04/16 Update new theme for GOV

This commit is contained in:
2026-04-16 13:40:29 -04:00
parent 03c9ca088c
commit f792bf2f67
4 changed files with 245 additions and 99 deletions
+5 -2
View File
@@ -100,8 +100,11 @@ def create_app() -> Flask:
@app.context_processor
def inject_company_name():
"""Make COMPANY_NAME available to all templates"""
return {'COMPANY_NAME': os.environ.get('COMPANY_NAME', 'QR Code Management System')}
"""Make COMPANY_NAME and THEME_NAME available to all templates"""
return {
'COMPANY_NAME': os.environ.get('COMPANY_NAME', 'QR Code Management System'),
'THEME_NAME': os.environ.get('THEME_NAME', ''),
}
@app.context_processor
def inject_logging_status():