mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
Remove Tower reference from email backend
This commit is contained in:
parent
fb850d9644
commit
e64d13486f
@ -25,7 +25,7 @@ class CustomEmailBackend(EmailBackend):
|
||||
if "body" in body:
|
||||
body_actual = body['body']
|
||||
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_actual += json.dumps(body, indent=4)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user