summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-05-17 18:52:37 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-05-17 18:52:37 +0200
commita6cc5ed7ac9e95a4e21c49f9159c66ff9a726600 (patch)
tree079a8bac20271a3c8f7cc852645f12f2317e11da /hyperkitty/templates/threads
parent3759498f4ecf5cae88eecf197b1f2cf075bc0565 (diff)
downloadhyperkitty-a6cc5ed7ac9e95a4e21c49f9159c66ff9a726600.tar.gz
hyperkitty-a6cc5ed7ac9e95a4e21c49f9159c66ff9a726600.tar.xz
hyperkitty-a6cc5ed7ac9e95a4e21c49f9159c66ff9a726600.zip
Load replies in chunks to avoid overloading the browser
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r--hyperkitty/templates/threads/participants.html14
-rw-r--r--hyperkitty/templates/threads/right_col.html15
2 files changed, 9 insertions, 20 deletions
diff --git a/hyperkitty/templates/threads/participants.html b/hyperkitty/templates/threads/participants.html
deleted file mode 100644
index b40445b..0000000
--- a/hyperkitty/templates/threads/participants.html
+++ /dev/null
@@ -1,14 +0,0 @@
-{% load url from future %}
-{% load gravatar %}
-{% load hk_generic %}
-
- <span id="participants_title">participants</span> ({{participants|length}})
- <ul>
- {% for name, email in participants.items|sort %}
- <li>
- {% gravatar email 20 %}
- {{ name|escapeemail }}
- </li>
- {% endfor %}
- </ul>
-
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index 8744f66..7f200fc 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -44,12 +44,15 @@
</form>
</div>
<div id="participants">
- {% if is_bot %}
- {% include 'threads/participants.html' %}
- {% else %}
- <span id="participants_title">participants</span>
- <img alt="Loading..." class="ajaxloader" src="{{ STATIC_URL }}img/ajax-loader.gif" />
- {% endif %}
+ <span id="participants_title">participants</span> ({{participants|length}})
+ <ul>
+ {% for name, email in participants %}
+ <li>
+ {% gravatar email 20 %}
+ {{ name|escapeemail }}
+ </li>
+ {% endfor %}
+ </ul>
</div>
</section>