summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-04-24 16:57:01 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-04-24 17:01:29 +0200
commitcb6837524e2a6cbe0636c08fff46eac1cc1a57e9 (patch)
tree143d383d8f332aa1b35cb7a15ed72ea60c80da45 /hyperkitty/templates
parent3c2b0470bef7ce201618c97df010b2f70f0bfc3e (diff)
downloadhyperkitty-cb6837524e2a6cbe0636c08fff46eac1cc1a57e9.tar.gz
hyperkitty-cb6837524e2a6cbe0636c08fff46eac1cc1a57e9.tar.xz
hyperkitty-cb6837524e2a6cbe0636c08fff46eac1cc1a57e9.zip
Add a 'Create new thread' button to the overview page
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/recent_activities.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html
index 233067c..b46f06b 100644
--- a/hyperkitty/templates/recent_activities.html
+++ b/hyperkitty/templates/recent_activities.html
@@ -22,6 +22,12 @@
<div id="fig" />
</section>
+ <p class="thread-new">
+ <a href="{% url "message_new" mlist_fqdn=mlist.name %}"
+ class="thread-new btn{% if not user.is_authenticated %} disabled" title="You must be logged-in to create a thread.{% endif %}"
+ ><strong>+</strong> Start a new thread</a>
+ </p>
+
<div class="row-fluid">
<div class="span6">