mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
Hide eula if stub license is used
This commit is contained in:
@@ -280,7 +280,7 @@ class ApiV1ConfigView(APIView):
|
|||||||
license_info=license_data,
|
license_info=license_data,
|
||||||
version=get_awx_version(),
|
version=get_awx_version(),
|
||||||
ansible_version=get_ansible_version(),
|
ansible_version=get_ansible_version(),
|
||||||
eula=render_to_string("eula.md"),
|
eula=render_to_string("eula.md") if license_data['license_type'] != 'open' else '',
|
||||||
analytics_status=pendo_state
|
analytics_status=pendo_state
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user