summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-09-10 16:47:32 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-10 16:47:32 +0200
commit1a50454b15ed97b9c744557f8d89fdbd91b7940b (patch)
treec0dde8d65787ba5b6b2dd4019bf3b0d5ba4d107b /hyperkitty/templates
parent4935c17ef310732a5e339ff5faa6c33bfde298b6 (diff)
downloadhyperkitty-1a50454b15ed97b9c744557f8d89fdbd91b7940b.tar.gz
hyperkitty-1a50454b15ed97b9c744557f8d89fdbd91b7940b.tar.xz
hyperkitty-1a50454b15ed97b9c744557f8d89fdbd91b7940b.zip
Implement the relative dates features
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/thread.html2
-rw-r--r--hyperkitty/templates/threads/right_col.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index a0551d8..2730db9 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -17,7 +17,7 @@
{% include 'messages/first_email.html' %}
<!-- End first email -->
- {% for email in threads %}
+ {% for email in replies %}
<div class="{% cycle 'even' 'odd' %}">
<!-- Start email -->
{% include 'messages/message.html' %}
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index 19ac788..0ad0438 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -5,7 +5,7 @@
<!-- Start dates -->
<div id="thread_date_info">
<div class="days_num inline-block">
- 21
+ {{ days_inactive }}
</div>
<div class="days_text inline-block">
days
@@ -13,7 +13,7 @@
inactive
</div>
<div id="days_old" class="days_num inline-block">
- 24
+ {{ days_old }}
</div>
<div class="days_text inline-block">
days