summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-04-22 17:29:16 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-04-22 17:29:16 +0200
commit8b3f70bb164aec17b81b7dead02be6165ddfd274 (patch)
tree6bbdc88bad4f6aed29f97e40b444b12a575d9481 /hyperkitty/templates
parent3f3a020c1fd2fcfdda3a9514e1ef7375ccccc71f (diff)
downloadhyperkitty-8b3f70bb164aec17b81b7dead02be6165ddfd274.tar.gz
hyperkitty-8b3f70bb164aec17b81b7dead02be6165ddfd274.tar.xz
hyperkitty-8b3f70bb164aec17b81b7dead02be6165ddfd274.zip
Add a warning when replying while not subscribed
Ticket: #46
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/message_new.html1
-rw-r--r--hyperkitty/templates/messages/reply_form.html3
2 files changed, 3 insertions, 1 deletions
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 %}