mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Update title for browsabl API to Ansible Tower, return dated version for development/nightly builds.
This commit is contained in:
parent
3aa517154e
commit
2c319cc986
@ -83,7 +83,7 @@ def get_awx_version():
|
|||||||
from awx import __version__
|
from awx import __version__
|
||||||
try:
|
try:
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
return pkg_resources.require('awx')[0].version
|
return pkg_resources.require('ansible_tower')[0].version
|
||||||
except:
|
except:
|
||||||
return __version__
|
return __version__
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{% extends 'rest_framework/base.html' %}
|
{% extends 'rest_framework/base.html' %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block title %}{{ name }} · {% trans 'AWX REST API' %}{% endblock %}
|
{% block title %}{{ name }} · {% trans 'Ansible Tower REST API' %}{% endblock %}
|
||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
Loading…
Reference in New Issue
Block a user