diff --git a/awx/ui/context_processors.py b/awx/ui/context_processors.py
index d9c0d133ba..fb231f8c9b 100644
--- a/awx/ui/context_processors.py
+++ b/awx/ui/context_processors.py
@@ -13,8 +13,14 @@ def settings(request):
}
def version(request):
+ context = getattr(request, 'parser_context', {})
return {
'version': get_awx_version(),
'tower_version': get_awx_version(),
'short_tower_version': get_awx_version().split('-')[0],
+ 'deprecated': getattr(
+ context.get('view'),
+ 'deprecated',
+ False
+ ) or request.path.startswith('/api/v1/')
}