diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-05-03 19:00:31 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-05-03 19:29:19 +0200 |
commit | 3123d2ed9220ab1103a800041e4e46d0f6fbf6c8 (patch) | |
tree | 4cf919a247ca5b31b17b7dc9d9a44d92315f3f83 /hyperkitty/templates | |
parent | 366a134413586f3ddbf453ea1601eb1944d43d90 (diff) | |
download | hyperkitty-3123d2ed9220ab1103a800041e4e46d0f6fbf6c8.tar.gz hyperkitty-3123d2ed9220ab1103a800041e4e46d0f6fbf6c8.tar.xz hyperkitty-3123d2ed9220ab1103a800041e4e46d0f6fbf6c8.zip |
Standardize flash messages a bit
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/base.html | 11 |
1 files changed, 9 insertions, 2 deletions
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 @@ </header> {% if flash_messages %} - <div class="flashmsg"> + <div class="flashmsgs"> {% for flash_msg in flash_messages %} - <div class="alert alert-{{ flash_msg.type }}">{{ flash_msg.msg }}</div> + <div class="flashmsg-wrapper"> + <div class="alert alert-{{ flash_msg.type }}"> + {% if flash_msg.type != "success" %} + <button type="button" class="close" data-dismiss="alert">×</button> + {% endif %} + {{ flash_msg.msg }} + </div> + </div> {% endfor %} </div> {% endif %} |