diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-02-08 16:27:52 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-02-08 16:27:52 +0100 |
commit | 671f4bb859d6f8927c97504b97ecf14cb6318fdb (patch) | |
tree | db4c0520fa56e16f26003294e2564c5622a43fe0 /hyperkitty/templates | |
parent | 13d11029ba45fa49855b3e346e3425ac1dce0702 (diff) | |
download | hyperkitty-671f4bb859d6f8927c97504b97ecf14cb6318fdb.tar.gz hyperkitty-671f4bb859d6f8927c97504b97ecf14cb6318fdb.tar.xz hyperkitty-671f4bb859d6f8927c97504b97ecf14cb6318fdb.zip |
WIP: Create new thread button
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/message_new.html | 33 | ||||
-rw-r--r-- | hyperkitty/templates/thread_list.html | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/hyperkitty/templates/message_new.html b/hyperkitty/templates/message_new.html new file mode 100644 index 0000000..c630127 --- /dev/null +++ b/hyperkitty/templates/message_new.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% load gravatar %} +{% load hk_generic %} +{% load storm %} + + +{% block title %} +Create a new thread - {{ mlist.display_name|default:mlist.name|escapeemail }} - {{ app_name|title }} +{% endblock %} + +{% block content %} + +<div class="row-fluid"> + +{% include 'threads/month_list.html' %} + + <div class="span7"> + + <div class="message-header"> + <h1>Create a new thread</h1> + </div> + + <section id="thread_content"> + {% include 'messages/reply_form.html' %} + </section> + + </div> + +</div> + +{% endblock %} + +{# vim: set noet: #} diff --git a/hyperkitty/templates/thread_list.html b/hyperkitty/templates/thread_list.html index cb95daa..d11fdf3 100644 --- a/hyperkitty/templates/thread_list.html +++ b/hyperkitty/templates/thread_list.html @@ -19,6 +19,8 @@ <h1>{{ mlist.display_name|default:mlist.name|escapeemail }} <small>{{ list_title }}</small> </h1> + <a href="{% url message_new mlist_fqdn=mlist.name %}" + class="thread-new btn"><strong>+</strong> Start a new thread</a> <ul class="thread-list-info"> {% if mlist.display_name %} <li class="list-address"> |