diff --git a/horizon/horizon/dashboards/nova/templates/nova/images_and_snapshots/images/index.html b/horizon/horizon/dashboards/nova/templates/nova/images_and_snapshots/images/index.html
index 269dd2ade..b32dc3a57 100644
--- a/horizon/horizon/dashboards/nova/templates/nova/images_and_snapshots/images/index.html
+++ b/horizon/horizon/dashboards/nova/templates/nova/images_and_snapshots/images/index.html
@@ -12,7 +12,8 @@
{% if images %}
{% include 'nova/images_and_snapshots/images/_list.html' %}
{% else %}
-
+
+
×
{% trans "Info: " %}{% trans "There are currently no images." %}
{% endif %}
diff --git a/horizon/horizon/static/horizon/js/horizon.js b/horizon/horizon/static/horizon/js/horizon.js
index 3d889a097..3dfd483de 100644
--- a/horizon/horizon/static/horizon/js/horizon.js
+++ b/horizon/horizon/static/horizon/js/horizon.js
@@ -29,6 +29,9 @@ var Horizon = function() {
return false;
});
+ // Bind dismiss(x) handlers for alert messages.
+ $(".alert").alert()
+
$.each(initFunctions, function(ind, fn) {
fn();
});
diff --git a/horizon/horizon/templates/horizon/_messages.html b/horizon/horizon/templates/horizon/_messages.html
index a8eb953b5..f36080a4f 100644
--- a/horizon/horizon/templates/horizon/_messages.html
+++ b/horizon/horizon/templates/horizon/_messages.html
@@ -1,22 +1,26 @@
{% load i18n %}
{% for message in messages %}
{% if "info" in message.tags %}
-
+
+
×
{% trans "Info: " %}{{ message }}
{% endif %}
{% if "warning" in message.tags %}
-
+
+
×
{% trans "Warning: " %}{{ message }}
{% endif %}
{% if "success" in message.tags %}
-
+
+
×
{% trans "Success: " %}{{ message }}
{% endif %}
{% if "error" in message.tags %}
-
+
+
×
{% trans "Error: " %}{{ message }}
{% endif %}