summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-05-03 19:30:42 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-05-03 19:30:42 +0200
commit4b1df7bbdb0f0fa35cf738235aff8170a37b7d04 (patch)
tree6c1567d5dcb5a692a9a3b2cf5f5e29d7b1caf934 /hyperkitty/templates
parent3123d2ed9220ab1103a800041e4e46d0f6fbf6c8 (diff)
downloadhyperkitty-4b1df7bbdb0f0fa35cf738235aff8170a37b7d04.tar.gz
hyperkitty-4b1df7bbdb0f0fa35cf738235aff8170a37b7d04.tar.xz
hyperkitty-4b1df7bbdb0f0fa35cf738235aff8170a37b7d04.zip
Handle errors when Mailman's REST server is down
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/message_new.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/hyperkitty/templates/message_new.html b/hyperkitty/templates/message_new.html
index 28231c8..7f10e77 100644
--- a/hyperkitty/templates/message_new.html
+++ b/hyperkitty/templates/message_new.html
@@ -22,6 +22,13 @@ Create a new thread - {{ mlist.display_name|default:mlist.name|escapeemail }} -
<h1>Create a new thread</h1>
</div>
+ {% if failure %}
+ <div class="alert alert-error">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ {{ failure }}
+ </div>
+ {% endif %}
+
<div class="new-thread-form">
<form method="post"
action="{% url 'message_new' mlist_fqdn=mlist.name %}">