remove UI split (legacy/modern)
This commit is contained in:
@@ -80,13 +80,11 @@ def create_app() -> Flask:
|
||||
|
||||
@app.context_processor
|
||||
def _inject_globals():
|
||||
ui_variant = (os.environ.get('UI_VARIANT') or 'modern').strip().lower() or 'modern'
|
||||
return {
|
||||
'current_user': _current_user(),
|
||||
'hr_auth_enabled': is_hr_auth_enabled(),
|
||||
'dev_ui': is_dev_ui(),
|
||||
'assignment_ui': is_assignment_feature_enabled(),
|
||||
'ui_variant': ui_variant,
|
||||
'format_name_short': _format_surname_with_initials,
|
||||
'format_role': _format_role,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user