diff --git a/awx/templates/rest_framework/api.html b/awx/templates/rest_framework/api.html index 563d64d1d0..c40d81ff63 100644 --- a/awx/templates/rest_framework/api.html +++ b/awx/templates/rest_framework/api.html @@ -36,7 +36,7 @@ {% if user.is_authenticated %}
  • Logged in as {{ user }}{% if user.get_full_name %} ({{ user.get_full_name }}){% endif %}
  • {% endif %} -
  • Ansible Tower API Guide
  • +
  • Ansible Tower API Guide
  • Back to Ansible Tower
  • diff --git a/awx/ui/context_processors.py b/awx/ui/context_processors.py index d3aeee34a6..d9c0d133ba 100644 --- a/awx/ui/context_processors.py +++ b/awx/ui/context_processors.py @@ -16,4 +16,5 @@ def version(request): return { 'version': get_awx_version(), 'tower_version': get_awx_version(), + 'short_tower_version': get_awx_version().split('-')[0], }