04/28 Updated UI 2

This commit is contained in:
2026-04-28 15:18:43 -04:00
parent f245a83f7d
commit d8b57cde77
3 changed files with 18 additions and 11 deletions
+5 -2
View File
@@ -107,8 +107,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():