diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-04-22 17:29:16 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-04-22 17:29:16 +0200 |
commit | 8b3f70bb164aec17b81b7dead02be6165ddfd274 (patch) | |
tree | 6bbdc88bad4f6aed29f97e40b444b12a575d9481 /hyperkitty | |
parent | 3f3a020c1fd2fcfdda3a9514e1ef7375ccccc71f (diff) | |
download | hyperkitty-8b3f70bb164aec17b81b7dead02be6165ddfd274.tar.gz hyperkitty-8b3f70bb164aec17b81b7dead02be6165ddfd274.tar.xz hyperkitty-8b3f70bb164aec17b81b7dead02be6165ddfd274.zip |
Add a warning when replying while not subscribed
Ticket: #46
Diffstat (limited to 'hyperkitty')
-rw-r--r-- | hyperkitty/static/css/hyperkitty-common.css | 11 | ||||
-rw-r--r-- | hyperkitty/templates/message_new.html | 1 | ||||
-rw-r--r-- | hyperkitty/templates/messages/reply_form.html | 3 |
3 files changed, 14 insertions, 1 deletions
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 }} + <p class="note">Please note that you should be subscribed to the list or your reply won't get through.</p> <p class="buttons"> <button type="submit" class="submit btn btn-primary">Send</button> or <a class="cancel" href="{% url 'archives_latest' mlist_fqdn=mlist.name %}">cancel</a> 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 @@ <a class="reply{% if not user.is_authenticated %} disabled" title="You must be logged-in to reply.{% endif %}" href="#">Reply</a> <div class="reply-form dropdown"> - <p class="reply-tools">[<a href="#" class="quote">Quote</a>]</p> + <p class="reply-tools">[<a href="#" class="quote">Quote</a>] + <span class="note">Please note that you should be subscribed to the list or your reply won't get through.</span></p> <form method="post" action="{% url 'message_reply' mlist_fqdn=mlist_fqdn message_id_hash=message_id_hash %}"> {% csrf_token %} |