From 3123d2ed9220ab1103a800041e4e46d0f6fbf6c8 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Fri, 3 May 2013 19:00:31 +0200 Subject: Standardize flash messages a bit --- hyperkitty/templates/base.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'hyperkitty/templates/base.html') diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 00385a4..ceab0bf 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -59,9 +59,16 @@ {% if flash_messages %} -
+
{% for flash_msg in flash_messages %} -
{{ flash_msg.msg }}
+
+
+ {% if flash_msg.type != "success" %} + + {% endif %} + {{ flash_msg.msg }} +
+
{% endfor %}
{% endif %} -- cgit