From 8b3f70bb164aec17b81b7dead02be6165ddfd274 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Mon, 22 Apr 2013 17:29:16 +0200 Subject: Add a warning when replying while not subscribed Ticket: #46 --- hyperkitty/static/css/hyperkitty-common.css | 11 +++++++++++ hyperkitty/templates/message_new.html | 1 + hyperkitty/templates/messages/reply_form.html | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) (limited to 'hyperkitty') diff --git a/hyperkitty/static/css/hyperkitty-common.css b/hyperkitty/static/css/hyperkitty-common.css index 5bfcdb4..7850b94 100644 --- a/hyperkitty/static/css/hyperkitty-common.css +++ b/hyperkitty/static/css/hyperkitty-common.css @@ -245,3 +245,14 @@ a.reply.disabled { .new-thread-form textarea { width: 90%; } + + +/* + * Common to both + */ + +.reply-form .note, +.new-thread-form .note { + color: #666666; + font-style: italic; +} diff --git a/hyperkitty/templates/message_new.html b/hyperkitty/templates/message_new.html index 28231c8..6cfd529 100644 --- a/hyperkitty/templates/message_new.html +++ b/hyperkitty/templates/message_new.html @@ -27,6 +27,7 @@ Create a new thread - {{ mlist.display_name|default:mlist.name|escapeemail }} - action="{% url 'message_new' mlist_fqdn=mlist.name %}"> {% csrf_token %} {{ post_form|crispy }} +

Please note that you should be subscribed to the list or your reply won't get through.

or cancel diff --git a/hyperkitty/templates/messages/reply_form.html b/hyperkitty/templates/messages/reply_form.html index ce31031..9094fab 100644 --- a/hyperkitty/templates/messages/reply_form.html +++ b/hyperkitty/templates/messages/reply_form.html @@ -2,7 +2,8 @@ Reply