diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-05-23 15:45:22 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-05-23 17:48:16 +0200 |
commit | ea032ba8b321fad5e896750eae508456676041c1 (patch) | |
tree | 026c8af089391ecddd9dcae5a05d5ee9e07ad3a0 /hyperkitty/templates/user_profile.html | |
parent | e9e92bf1ac15421b9a29c366b9ef6bf2c1b94943 (diff) | |
download | hyperkitty-ea032ba8b321fad5e896750eae508456676041c1.tar.gz hyperkitty-ea032ba8b321fad5e896750eae508456676041c1.tar.xz hyperkitty-ea032ba8b321fad5e896750eae508456676041c1.zip |
Display the last viewed threads in the user profile
Diffstat (limited to 'hyperkitty/templates/user_profile.html')
-rw-r--r-- | hyperkitty/templates/user_profile.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html index f6a4d16..e84c72f 100644 --- a/hyperkitty/templates/user_profile.html +++ b/hyperkitty/templates/user_profile.html @@ -69,6 +69,11 @@ {% endif %} + <h3>Threads you have read</h3> + <img alt="Loading..." class="ajaxloader" src="{{ STATIC_URL }}img/ajax-loader.gif" /> + <div class="views"></div> + + <h3>Votes</h3> <h4>Up Votes</h4> {% if votes_up %} @@ -112,4 +117,15 @@ {% endblock %} +{% block additionaljs %} + +<script type="text/javascript"> + $(document).ready(function() { + // Load the last views + update_last_views("{% url 'user_last_views' %}"); + }); +</script> + +{% endblock %} + {# vim: set noet: #} |