emails: only show quay footer if coming from hosted
This commit is contained in:
parent
46a720285a
commit
004b834c72
3 changed files with 6 additions and 1 deletions
|
@ -61,6 +61,7 @@ def send_email(recipient, subject, template_file, parameters, action=None):
|
|||
'app_logo': 'https://quay.io/static/img/quay-logo.png', # TODO: make this pull from config
|
||||
'app_url': app_url,
|
||||
'app_title': app_title,
|
||||
'hosted': 'Quay' in app_title,
|
||||
'app_link': app_link_handler,
|
||||
'action_metadata': json.dumps(action.metadata) if action else None
|
||||
})
|
||||
|
|
Reference in a new issue