diff --git a/horizon/static/horizon/js/horizon.messages.js b/horizon/static/horizon/js/horizon.messages.js index f23b38b547..56403240ee 100644 --- a/horizon/static/horizon/js/horizon.messages.js +++ b/horizon/static/horizon/js/horizon.messages.js @@ -8,11 +8,11 @@ horizon.alert = function (type, message, extra_tags) { params = { "type": type, "type_display": { - 'danger': gettext("Danger"), - 'warning': gettext("Warning"), - 'info': gettext("Notice"), - 'success': gettext("Success"), - 'error': gettext("Error") + 'danger': gettext("Danger: "), + 'warning': gettext("Warning: "), + 'info': gettext("Notice: "), + 'success': gettext("Success: "), + 'error': gettext("Error: ") }[type], "message": message, "safe": safe diff --git a/horizon/templates/horizon/client_side/_alert_message.html b/horizon/templates/horizon/client_side/_alert_message.html index 1c4f66045b..37c151a115 100644 --- a/horizon/templates/horizon/client_side/_alert_message.html +++ b/horizon/templates/horizon/client_side/_alert_message.html @@ -8,7 +8,7 @@
×

- [[type_display]]: + [[type_display]] [[#safe]] [[[message]]] [[/safe]]