summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-05-31 16:32:34 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-05-31 16:32:34 +0200
commit30be2dbbcff4b01869bbb0120eb6679cc4b55cd0 (patch)
tree83752447db89f2961988869db0b898171cb528d1 /hyperkitty/templates
parent02d94d437bd841cca240671558832400a470672e (diff)
downloadhyperkitty-30be2dbbcff4b01869bbb0120eb6679cc4b55cd0.tar.gz
hyperkitty-30be2dbbcff4b01869bbb0120eb6679cc4b55cd0.tar.xz
hyperkitty-30be2dbbcff4b01869bbb0120eb6679cc4b55cd0.zip
Navigate through unread messages with 'j' and 'k'
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/base.html2
-rw-r--r--hyperkitty/templates/thread.html3
2 files changed, 3 insertions, 2 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html
index 611909a..76d7d66 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -81,7 +81,7 @@
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="{{ STATIC_URL }}libs/jquery/jquery-1.8.3.min.js"><\/script>')</script>
<script src="{{ STATIC_URL }}libs/jquery/jquery-ui-1.10.0.custom.min.js"></script>
- {% assets filters="rjsmin", output="gen/hyperkitty.js", "libs/bootstrap/js/bootstrap.min.js", "libs/jquery.expander.js", "libs/d3.v2.min.js", "js/hyperkitty.js" %}
+ {% assets filters="rjsmin", output="gen/hyperkitty.js", "libs/bootstrap/js/bootstrap.min.js", "libs/jquery.expander.js", "libs/d3.v2.min.js", "libs/jquery.hotkeys.js", "js/hyperkitty.js" %}
<script src="{{ ASSET_URL }}"></script>
{% endassets %}
{% block additionaljs %} {% endblock %}
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index 1e1f7ed..a25046e 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -78,9 +78,10 @@
<script type="text/javascript">
$(document).ready(function() {
// Hide quotes by default in the thread view
- fold_quotes()
+ fold_quotes();
// Load the replies
update_thread_replies("{% url 'thread_replies' threadid=threadid mlist_fqdn=mlist.name %}?sort={{sort_mode}}&last_view={{last_view|date:'U'}}");
+ setup_navkeys();
});
</script>