1
0
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:
Chris Church 2014-04-02 00:16:48 -04:00
parent 3aa517154e
commit 2c319cc986
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ def get_awx_version():
from awx import __version__
try:
import pkg_resources
return pkg_resources.require('awx')[0].version
return pkg_resources.require('ansible_tower')[0].version
except:
return __version__

View File

@ -1,7 +1,7 @@
{% extends 'rest_framework/base.html' %}
{% load i18n %}
{% block title %}{{ name }} · {% trans 'AWX REST API' %}{% endblock %}
{% block title %}{{ name }} · {% trans 'Ansible Tower REST API' %}{% endblock %}
{% block style %}
{{ block.super }}