diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-01-31 23:37:09 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-02-01 16:37:23 +0100 |
commit | 0e944bed0d2f1774c2da52184ac30ab95dd8a11c (patch) | |
tree | 09d7cc08c91181580bc809b1aba7108805e711a0 /hyperkitty/templates | |
parent | 238d19f7e09bfa754f4b91622f1c34d08f2ef26d (diff) | |
download | hyperkitty-0e944bed0d2f1774c2da52184ac30ab95dd8a11c.tar.gz hyperkitty-0e944bed0d2f1774c2da52184ac30ab95dd8a11c.tar.xz hyperkitty-0e944bed0d2f1774c2da52184ac30ab95dd8a11c.zip |
Inline replies
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/messages/message.html | 1 | ||||
-rw-r--r-- | hyperkitty/templates/messages/reply_form.html | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index 5d7261d..a47d831 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -57,6 +57,7 @@ </ul> </li> {% endif %} + {% include "messages/reply_form.html" with mlist_fqdn=list_address message_id=email.message_id_hash %} </ul> {# vim: set noet: #} diff --git a/hyperkitty/templates/messages/reply_form.html b/hyperkitty/templates/messages/reply_form.html new file mode 100644 index 0000000..29bd15b --- /dev/null +++ b/hyperkitty/templates/messages/reply_form.html @@ -0,0 +1,14 @@ + <a class="reply icon-envelope" href="#">Reply</a> + <div class="reply-form dropdown"> + <form method="post" + action="{% url message_reply mlist_fqdn=mlist_fqdn, message_id=message_id %}"> + {% csrf_token %} + {{ reply_form.as_p }} + <p class="buttons"> + <button type="submit" class="submit btn btn-primary">Send</button> + or <a class="cancel" href="#">cancel</a> + </p> + </form> + </div> + +{# vim: set noet: #} |