04/16 Update new theme for GOV
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user