mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
Remove Tower reference from email backend
This commit is contained in:
@@ -25,7 +25,7 @@ class CustomEmailBackend(EmailBackend):
|
|||||||
if "body" in body:
|
if "body" in body:
|
||||||
body_actual = body['body']
|
body_actual = body['body']
|
||||||
else:
|
else:
|
||||||
body_actual = smart_text(_("{} #{} had status {} on Ansible Tower, view details at {}\n\n").format(
|
body_actual = smart_text(_("{} #{} had status {}, view details at {}\n\n").format(
|
||||||
body['friendly_name'], body['id'], body['status'], body['url'])
|
body['friendly_name'], body['id'], body['status'], body['url'])
|
||||||
)
|
)
|
||||||
body_actual += json.dumps(body, indent=4)
|
body_actual += json.dumps(body, indent=4)
|
||||||
|
|||||||
Reference in New Issue
Block a user