Use banners appropriately

We’ve fiddled around with the banners quite a lot in the last few days. This
commit reviews some of the older examples and makes sure that they’re:

a) not broken
b) using the most appropriate banner for the context
This commit is contained in:
Chris Hill-Scott
2016-02-05 10:33:14 +00:00
parent 9c1e47d594
commit 7dc5d76b98
4 changed files with 8 additions and 5 deletions

View File

@@ -51,5 +51,5 @@ def revoke_api_key(service_id, key_id):
)
elif request.method == 'POST':
api_key_api_client.revoke_api_key(service_id=service_id, key_id=key_id)
flash('{} was revoked'.format(key_name), 'default')
flash('{} was revoked'.format(key_name), 'default_with_tick')
return redirect(url_for('.api_keys', service_id=service_id))